From: Tom Tromey Date: Thu, 15 Jan 2026 17:35:19 +0000 (-0700) Subject: Remove extraneous 'return' X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44e61b3950e6f98c2ba64880f4a4d03192282490;p=thirdparty%2Fbinutils-gdb.git Remove extraneous 'return' 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. --- diff --git a/gdb/cli/cli-setshow.c b/gdb/cli/cli-setshow.c index eabb40c929e..7688da015de 100644 --- a/gdb/cli/cli-setshow.c +++ b/gdb/cli/cli-setshow.c @@ -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. */