glibc/dlfcn
Joseph Myers 9114625bad Fix dlfcn/failtestmod.c warning.
This patch fixes a "set but not used" warning from
dlfcn/failtestmod.c.  A variable is used only to store the return
value from dlsym.  As I understand this test, the point is simply to
do a sequence of load / unload operations in a loop, and all that
matters here is that dlsym gets called and returns without crashing,
not what its return value is.  So this patch removes the assignment to
a variable.

Tested for x86_64.

	* dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
	variable.
2014-11-27 16:00:08 +00:00
..
bug-atexit1-lib.c
bug-atexit1.c
bug-atexit2-lib.c
bug-atexit2.c
bug-atexit3-lib.cc
bug-atexit3.c
bug-dl-leaf-lib-cb.c
bug-dl-leaf-lib.c
bug-dl-leaf.c
bug-dlopen1.c
bug-dlsym1-lib1.c
bug-dlsym1-lib2.c
bug-dlsym1.c
default.c
defaultmod1.c
defaultmod2.c
dladdr1.c
dladdr.c
dlclose.c
dlerror.c
dlfcn.c
dlfcn.h
dlinfo.c
dlmopen.c
dlopen.c
dlopenold.c
dlsym.c
dlvsym.c
errmsg1.c
errmsg1mod.c
failtest.c
failtestmod.c Fix dlfcn/failtestmod.c warning. 2014-11-27 16:00:08 +00:00
glreflib1.c
glreflib2.c
glreflib3.c
glrefmain.c
Makefile
modatexit.c
modcxaatexit.c
modstatic2.c
modstatic3.c
modstatic5.c
modstatic.c
sdladdr1.c
sdladdr.c
sdlclose.c
sdlerror.c
sdlinfo.c
sdlmopen.c
sdlopen.c
sdlsym.c
sdlvsym.c
tst-dladdr.c
tst-dlinfo.c
tstatexit.c
tstcxaatexit.c
tststatic2.c
tststatic3.c
tststatic4.c
tststatic5.c
tststatic.c
Versions