mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-24 13:57:36 +00:00
* sysdep.c (sys_subshell): Mark local as volatile if checking for lint,
to suppress a gcc -Wclobbered warning that does not seem to be right.
This commit is contained in:
parent
fbd02d7b06
commit
edced198e3
2 changed files with 3 additions and 1 deletions
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
* sysdep.c (system_process_attributes): Rename vars to avoid shadowing.
|
||||
Fix pointer signedness issue.
|
||||
(sys_subshell): Mark local as volatile if checking for lint,
|
||||
to suppress a gcc -Wclobbered warning that does not seem to be right.
|
||||
|
||||
* process.c (serial_open, serial_configure): Move decls from here ...
|
||||
* systty.h: ... to here, so that they can be checked.
|
||||
|
|
|
|||
|
|
@ -488,7 +488,7 @@ sys_subshell (void)
|
|||
int pid;
|
||||
struct save_signal saved_handlers[5];
|
||||
Lisp_Object dir;
|
||||
unsigned char *str = 0;
|
||||
unsigned char * IF_LINT (volatile) str = 0;
|
||||
int len;
|
||||
|
||||
saved_handlers[0].code = SIGINT;
|
||||
|
|
|
|||
Loading…
Reference in a new issue