* cygcheck.cc (pathlike::check_existence): Remove class name from declaration.
(display_internet_error): Use proper format specifier for DWORD. (environ): Remove unneeded declaration. (main): Use brace around nested if to avoid an overly-helpful compiler warning. * dump_setup.cc (parse_filename): Reorganize nested if to avoid an overly-helpful compiler warning. * path.cc (GUID_shortcut): Use braces around part of initializer which needs them. (conv_fstab_spaces): Parenthesize assignment in while loop to avoid a compiler warning. (struct opt): Make static. * ps.cc (main): Reorganize nested if to avoid an overly-helpful compiler warning. * regtool.cc: Make some anonymous structs static to avoid a compiler warning. * ssp.c (lookup_thread_id): Initialize *tix to zero to avoid potential uninitialized use. * strace.cc (add_child): Use proper format specifier for DWORD. (remove_child): Ditto. (proc_child): Ditto.
This commit is contained in:
@@ -202,7 +202,7 @@ Fail (DWORD rv)
|
||||
exit (1);
|
||||
}
|
||||
|
||||
struct
|
||||
static struct
|
||||
{
|
||||
const char *string;
|
||||
HKEY key;
|
||||
@@ -865,8 +865,7 @@ cmd_save ()
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
struct
|
||||
static struct
|
||||
{
|
||||
const char *name;
|
||||
int (*func) ();
|
||||
|
Reference in New Issue
Block a user