]> git.eshelyaron.com Git - emacs.git/commit
Pacify --enable-gcc-warnings without modules
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 May 2017 08:45:34 +0000 (01:45 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 21 May 2017 08:47:31 +0000 (01:47 -0700)
commit97c7a61d90987e182c1d2ec40fbe0d1d7df844c5
treeb42ee08724ce05511944a620c4934f4572c41b0b
parentb35293dfd0e9dd95a88ac01051655d0d2d105992
Pacify --enable-gcc-warnings without modules

* src/print.c (print_vectorlike): New function, taken from
part of print_object.  This one is indented properly, and
pacifies --enable-gcc-warnings by using a default case
instead of listing all the enum values, sometimes
incompletely.
(print_object): Use it.
src/print.c