]> code.delx.au - gnu-emacs/commit
Port to --enable-gcc-warnings sans getaddrinfo_a
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 23 Feb 2016 23:25:43 +0000 (15:25 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 23 Feb 2016 23:26:23 +0000 (15:26 -0800)
commitc7b8194c04687cfb97c16180feb9f9c74d9fc848
tree9e4fa3efed0a33423cc86a90e49519dec10c2370
parent82848cf689c24a8bc635449846250ea6edb757c4
Port to --enable-gcc-warnings sans getaddrinfo_a

* src/process.c (Fmake_network_process): Add ATTRIBUTE_UNUSED
to a local unused when getaddrinfo_a is missing.
Resize portbuf to size needed.  Do cheap test first.
Move local to block where it’s needed.
src/process.c