Commit adae286e authored by Marko Mäkelä's avatar Marko Mäkelä

Amend 3ea51b51

Remove redundant NULL checks for __attribute__((nonnull)) parameters,
because clang warns about them.
parent 8ba5af7e
......@@ -202,8 +202,8 @@ int handle_options(int *argc, char ***argv, const struct my_option *longopts,
DBUG_ENTER("handle_options");
/* handle_options() assumes arg0 (program name) always exists */
DBUG_ASSERT(argc && *argc >= 1);
DBUG_ASSERT(argv && *argv);
DBUG_ASSERT(*argc >= 1);
DBUG_ASSERT(*argv);
(*argc)--; /* Skip the program name */
(*argv)++; /* --- || ---- */
init_variables(longopts, init_one_value);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment