summaryrefslogtreecommitdiff
path: root/Build/source/texk/dtl
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-06-27 12:13:25 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-06-27 12:13:25 +0000
commitd461a65ed824ec63c77f4ef241065619f3e8804b (patch)
tree61eaab0c21753ae8cdb38c87c9e62dbca3930c13 /Build/source/texk/dtl
parentd97e8d7e3159ea8dc7c20459710b9cd1cb6f53ac (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/ChangeLog4
-rw-r--r--Build/source/texk/dtl/dt2dv.c8
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;