]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch.c
Avoid access of a Xapian iterator's object when there's nothing there.
[notmuch] / notmuch.c
index 3ccf1bc25b988e0568ccb70c05aa7d69edea4e1b..5cc8e4c9bf2b2e5810a676656515b1f174d7e406 100644 (file)
--- a/notmuch.c
+++ b/notmuch.c
@@ -400,8 +400,6 @@ main (int argc, char *argv[])
            return (command->function) (local, argc - 2, &argv[2]);
     }
 
-    /* Don't complain about "help" being an unknown command when we're
-       about to provide exactly what's wanted anyway. */
     fprintf (stderr, "Error: Unknown command '%s' (see \"notmuch help\")\n",
             argv[1]);