* 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:
Corinna Vinschen
2011-03-29 11:02:58 +00:00
parent 91d3057085
commit d7d8e7ce07
4 changed files with 18 additions and 5 deletions

View File

@@ -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)
{