Thread (6 messages) flat view 6 messages, 2 authors, 2021-08-12

Re: [PATCH iproute2] lib: bpf_glue: remove useless assignment

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2021-08-11 03:02:04

On Sat,  7 Aug 2021 18:58:02 +0200
Andrea Claudi [off-list ref] wrote:
-	while ((s = fgets(buf, sizeof(buf), fp)) != NULL) {
+	while (fgets(buf, sizeof(buf), fp) != NULL) {
 		if ((s = strstr(buf, "libbpf.so.")) != NULL) {
Ok. but it would be good to get rid of the unnecessary assignment in conditional as well.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help