diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-06-27 12:13:25 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-06-27 12:13:25 +0000 |
commit | d461a65ed824ec63c77f4ef241065619f3e8804b (patch) | |
tree | 61eaab0c21753ae8cdb38c87c9e62dbca3930c13 /Build/source/texk/dtl | |
parent | d97e8d7e3159ea8dc7c20459710b9cd1cb6f53ac (diff) |
compiler warnings: Drop 'set but not used' variables
git-svn-id: svn://tug.org/texlive/trunk@30976 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dtl')
-rw-r--r-- | Build/source/texk/dtl/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/dtl/dt2dv.c | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/Build/source/texk/dtl/ChangeLog b/Build/source/texk/dtl/ChangeLog index d53637ba86b..43ec15bd3f7 100644 --- a/Build/source/texk/dtl/ChangeLog +++ b/Build/source/texk/dtl/ChangeLog @@ -1,3 +1,7 @@ +2013-06-27 Peter Breitenlohner <peb@mppmu.mpg.de> + + * dt2dv.c: Drop variable 'handler' (set but not used). + 2012-12-07 Peter Breitenlohner <peb@mppmu.mpg.de> * dt2dv.c: Drop unused variables (gcc-4.6 warning). diff --git a/Build/source/texk/dtl/dt2dv.c b/Build/source/texk/dtl/dt2dv.c index a88cedc7c00..49cba320a4e 100644 --- a/Build/source/texk/dtl/dt2dv.c +++ b/Build/source/texk/dtl/dt2dv.c @@ -343,9 +343,6 @@ main char * argv[]; #endif { -#ifndef WIN32 - Void (*handler) ARGS((int)); /* Previous signal handler */ -#endif int i; #ifdef KPATHSEA @@ -358,7 +355,7 @@ main /* memory violation signal handler */ /* Not supported under Win32 */ #ifndef WIN32 - handler = (Void (*) ARGS((int))) signal (SIGSEGV, mem_viol); + signal (SIGSEGV, mem_viol); #endif #ifndef __DATE__ @@ -415,8 +412,7 @@ mem_viol int sig; #endif { - Void (* handler) ARGS((int)); - handler = (Void (*) ARGS((int))) signal (SIGSEGV, mem_viol); + signal (SIGSEGV, mem_viol); if (sig != SIGSEGV) { PRINT_PROGNAME; |