summaryrefslogtreecommitdiff
path: root/cmdutils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-08-15 21:31:59 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-08-15 22:47:45 +0200
commit81a663f49edd265dc846ff3854579415cac1d5bb (patch)
tree316eba8de3800371865b42b36831e9829bf775f7 /cmdutils.c
parent60dbed6067676d847157fe530b1caed06c77e2ab (diff)
Drop remaining unneeded != NULL
Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'cmdutils.c')
-rw-r--r--cmdutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdutils.c b/cmdutils.c
index 53444984dd..a71c7db8cf 100644
--- a/cmdutils.c
+++ b/cmdutils.c
@@ -166,7 +166,7 @@ void show_help_options(const OptionDef *options, const char *msg, int req_flags,
int first;
first = 1;
- for (po = options; po->name != NULL; po++) {
+ for (po = options; po->name; po++) {
char buf[64];
if (((po->flags & req_flags) != req_flags) ||