* cygcheck.cc (handle_unique_object_name): Avoid a compiler warning.
(dump_sysinfo): Ditto. * loadlib.h (_load_sys_library): Mark as used, to avoid a compiler warning. * path.cc (oopt): Gurad with !FSTAB_ONLY to avoid a compiler warning. (read_flags): Ditto.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* loadlib.h
|
||||
|
||||
Copyright 2010 Red Hat, Inc.
|
||||
Copyright 2010, 2011 Red Hat, Inc.
|
||||
|
||||
This file is part of Cygwin.
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
full path. This doesn't work for loadling cygwin1.dll. For this case,
|
||||
instead of prepending the path, make sure that the CWD is removed from
|
||||
the DLL search path, if possible (XP SP1++, Vista++). */
|
||||
static HMODULE _load_sys_library (const wchar_t *dll) __attribute__ ((used));
|
||||
|
||||
static HMODULE
|
||||
_load_sys_library (const wchar_t *dll)
|
||||
{
|
||||
|
Reference in New Issue
Block a user