emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 74f54af: Use eassume (false) for branch that's neve


From: Philipp Stephani
Subject: [Emacs-diffs] master 74f54af: Use eassume (false) for branch that's never taken.
Date: Fri, 19 Apr 2019 04:27:35 -0400 (EDT)

branch: master
commit 74f54af2b9048cb1ea7a051c9efe079eaaeb4697
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>

    Use eassume (false) for branch that's never taken.
    
    * src/json.c (json_handle_nonlocal_exit): Use eassume (false) since
    this branch is never taken.
---
 src/json.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/json.c b/src/json.c
index 6ddf510..928825e 100644
--- a/src/json.c
+++ b/src/json.c
@@ -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);
     }
 }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]