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 Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
bug-dl-leaf-lib.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
bug-dl-leaf.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
bug-dlopen1.c
bug-dlsym1-lib1.c
bug-dlsym1-lib2.c
bug-dlsym1.c
default.c
defaultmod1.c
defaultmod2.c
dladdr1.c Remove IS_IN_libdl 2014-11-24 11:41:44 +05:30
dladdr.c Remove IS_IN_libdl 2014-11-24 11:41:44 +05:30
dlclose.c Remove IS_IN_libdl 2014-11-24 11:41:44 +05:30
dlerror.c Remove IS_IN_libdl 2014-11-24 11:41:44 +05:30
dlfcn.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dlfcn.h Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
dlinfo.c Remove IS_IN_libdl 2014-11-24 11:41:44 +05:30
dlmopen.c Remove IS_IN_libdl 2014-11-24 11:41:44 +05:30
dlopen.c Remove IS_IN_libdl 2014-11-24 11:41:44 +05:30
dlopenold.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
dlsym.c Remove IS_IN_libdl 2014-11-24 11:41:44 +05:30
dlvsym.c Remove IS_IN_libdl 2014-11-24 11:41:44 +05:30
errmsg1.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
errmsg1mod.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
failtest.c
failtestmod.c Fix dlfcn/failtestmod.c warning. 2014-11-27 16:00:08 +00:00
glreflib1.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
glreflib2.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
glreflib3.c
glrefmain.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Makefile Fix fallout from Joseph's untested Makeconfig change. 2014-02-28 13:00:27 -08:00
modatexit.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
modcxaatexit.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
modstatic2.c
modstatic3.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
modstatic5.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
modstatic.c
sdladdr1.c
sdladdr.c
sdlclose.c
sdlerror.c
sdlinfo.c
sdlmopen.c
sdlopen.c
sdlsym.c
sdlvsym.c
tst-dladdr.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-dlinfo.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tstatexit.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tstcxaatexit.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tststatic2.c
tststatic3.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tststatic4.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tststatic5.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tststatic.c
Versions