diff options
Diffstat (limited to 'src/fe_utils/cancel.c')
-rw-r--r-- | src/fe_utils/cancel.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/fe_utils/cancel.c b/src/fe_utils/cancel.c index 12f005818d6..dcff9a85641 100644 --- a/src/fe_utils/cancel.c +++ b/src/fe_utils/cancel.c @@ -152,7 +152,6 @@ ResetCancelConn(void) static void handle_sigint(SIGNAL_ARGS) { - int save_errno = errno; char errbuf[256]; CancelRequested = true; @@ -173,8 +172,6 @@ handle_sigint(SIGNAL_ARGS) write_stderr(errbuf); } } - - errno = save_errno; /* just in case the write changed it */ } /* |