summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pacman/log.c2
-rw-r--r--src/pacman/pacman.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/pacman/log.c b/src/pacman/log.c
index a7a493aa..928c8220 100644
--- a/src/pacman/log.c
+++ b/src/pacman/log.c
@@ -38,7 +38,7 @@
extern config_t *config;
-static int neednl = 0; /* for cleaner message output */
+int neednl = 0; /* for cleaner message output */
static int needpad = 0; /* pad blanks to terminal width */
/* simple helper for needpad */
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index fa3003e2..5498fab5 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -412,8 +412,6 @@ int main(int argc, char *argv[])
/*setenv("MALLOC_TRACE","pacman.mtrace", 0);*/
mtrace();
#endif
- maxcols = getcols();
-
/* set signal handlers */
signal(SIGINT, cleanup);
signal(SIGTERM, cleanup);