]> git.eshelyaron.com Git - emacs.git/commit
Fix warnings without XCB or XFixes
authorPo Lu <luangruo@yahoo.com>
Sun, 13 Nov 2022 07:34:16 +0000 (15:34 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 13 Nov 2022 07:35:02 +0000 (15:35 +0800)
commit756373a772c2c096bad1b26d7e46fa6144086ce1
tree876dc68e34770e3eeb1acd61d9037fc991507cf1
parent695dbd3db41f6899f07b7afb48b2061b8a7cd189
Fix warnings without XCB or XFixes

* src/xterm.c (x_term_init): Don't USE_SAFE_ALLOCA or call
SAFE_FREE outside of where it is actually used.  For some reason
the compiler still emitted warnings despite the ((void)
SAFE_ALLOCA (0)) statement.
src/xterm.c