[hackers] [scc] [driver] Remove unnecessary variable || Quentin Rameau

From: <git_AT_suckless.org>
Date: Wed, 25 May 2016 20:29:44 +0200 (CEST)

commit 480c415220a1ba32f382677a78f15f6399af94ff
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Wed May 25 17:44:39 2016 +0200
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Wed May 25 19:50:48 2016 +0200

    [driver] Remove unnecessary variable

diff --git a/driver/posix/scc.c b/driver/posix/scc.c
index 4dc3775..421c0c5 100644
--- a/driver/posix/scc.c
+++ b/driver/posix/scc.c
_AT_@ -96,13 +96,11 @@ int
 main(int argc, char *argv[])
 {
         int fds[2], st, i;
- char *p;
         pid_t pid;
 
         atexit(terminate);
 
- if (p = getenv("ARCH"))
- arch = p;
+ arch = getenv("ARCH");
 
         ARGBEGIN {
         case 'm':
Received on Wed May 25 2016 - 20:29:44 CEST

This archive was generated by hypermail 2.3.0 : Wed May 25 2016 - 20:36:16 CEST