Standardize `!ptr` i/o `ptr == NULL`, `ptr` i/o `ptr != NULL`
[babeltrace.git] / src / cli / babeltrace2-cfg-src-auto-disc.c
index 505a265f272f03d34097b8ea32da012e9415814b..6dcb9e2c9b39194de84d2adb8235b89c0c4cc9b4 100644 (file)
@@ -562,7 +562,7 @@ int auto_discover_source_for_input_as_dir_or_file_rec(GString *input,
                                BT_LOGW_ERRNO("Failed to read directory entry", ": dir=%s", input->str);
                                goto error;
                        }
-               } while (dirent != NULL);
+               } while (dirent);
 
                status = dir_status;
 
This page took 0.022778 seconds and 4 git commands to generate.