about summary refs log tree commit diff stats
path: root/src/profanity.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/profanity.c')
-rw-r--r--src/profanity.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/profanity.c b/src/profanity.c
index 329acb70..521b277e 100644
--- a/src/profanity.c
+++ b/src/profanity.c
@@ -55,10 +55,12 @@ prof_run(const int disable_tls, char *log_level)
     GTimer *timer = g_timer_new();
     gboolean cmd_result = TRUE;
 
+    char inp[INP_WIN_MAX];
+    int size = 0;
+
     while(cmd_result == TRUE) {
         int ch = ERR;
-        char inp[INP_WIN_MAX];
-        int size = 0;
+        size = 0;
 
         while(ch != '\n') {