]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Remove extraneous 'return'
authorTom Tromey <tom@tromey.com>
Thu, 15 Jan 2026 17:35:19 +0000 (10:35 -0700)
committerTom Tromey <tom@tromey.com>
Thu, 15 Jan 2026 17:35:19 +0000 (10:35 -0700)
This 'return' comes after a call to a 'noreturn' function, and can be
removed.

I am not sure exactly what is up with the comment, but perhaps there
was a time when 'error' was not marked this way.

gdb/cli/cli-setshow.c

index eabb40c929ea9cf36870d9bc440b455536b78f58..7688da015decaef301aab4ffff31add6f798b658 100644 (file)
@@ -67,7 +67,6 @@ parse_auto_binary_operation (const char *arg)
        return AUTO_BOOLEAN_AUTO;
     }
   error (_("\"on\", \"off\" or \"auto\" expected."));
-  return AUTO_BOOLEAN_AUTO; /* Pacify GCC.  */
 }
 
 /* See cli-setshow.h.  */