]> git.eshelyaron.com Git - emacs.git/commitdiff
Use eassume (false) for branch that's never taken.
authorPhilipp Stephani <phst@google.com>
Fri, 19 Apr 2019 08:26:32 +0000 (10:26 +0200)
committerPhilipp Stephani <phst@google.com>
Fri, 19 Apr 2019 08:26:32 +0000 (10:26 +0200)
* src/json.c (json_handle_nonlocal_exit): Use eassume (false) since
this branch is never taken.

src/json.c

index 6ddf5100e866f0f53fd8aabe80689c27105a0846..928825e034c4254892aa5ff09f94b994c80a121e 100644 (file)
@@ -675,7 +675,7 @@ json_handle_nonlocal_exit (enum nonlocal_exit type, Lisp_Object data)
     case NONLOCAL_EXIT_THROW:
       return Fcons (Qno_catch, data);
     default:
-      return Qnil;
+      eassume (false);
     }
 }