]> git.eshelyaron.com Git - emacs.git/commit
Simplify init_module_assertions
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Jun 2018 22:59:08 +0000 (15:59 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 15 Jun 2018 00:13:38 +0000 (17:13 -0700)
commitef66660c17d1b164414c46d67ba3494f8a18c8ec
tree93ad3c5740b777a0f38e6137a1bb4e1f1e7c2306
parent30d393f9118035ec5d12917252bc4339c771a539
Simplify init_module_assertions

* src/emacs-module.c (init_module_assertions): Just use NULL
instead of allocating a dummy on the stack and then using
eassert.  Practical platforms check for null pointer
dereferencing nowadays, so this is good enough.
src/emacs-module.c