[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[screen-devel] [PATCH 1/4] screen.c: CoreDump: remove unused variable
From: |
Simon Ruderich |
Subject: |
[screen-devel] [PATCH 1/4] screen.c: CoreDump: remove unused variable |
Date: |
Sun, 7 Feb 2016 16:33:59 +0100 |
User-agent: |
Mutt/1.5.24 (2015-08-30) |
---
src/screen.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/src/screen.c b/src/screen.c
index 562206c..dcd7054 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -1074,8 +1074,6 @@ static void CoreDump(int sigsig)
Display *disp;
char buf[80];
- int running_w_s_bit = (getuid() != geteuid());
-
(void)sigsig; /* unused */
setgid(getgid());
@@ -1093,10 +1091,7 @@ static void CoreDump(int sigsig)
Kill(disp->d_userpid, SIG_BYE);
}
- if (running_w_s_bit) {
- abort();
- } else
- abort();
+ abort();
}
static void DoWait()
--
2.7.0
--
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [screen-devel] [PATCH 1/4] screen.c: CoreDump: remove unused variable,
Simon Ruderich <=