diff --git a/src/ChangeLog b/src/ChangeLog
index 9c72a8ab..98c47b5e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
+2014-11-20  Tim Ruehsen <tim.ruehsen@gmx.de>
+
+	* progress.c: Fix code for undefined USE_NLS_PROGRESS_BAR
+
+	Reported-by: Gisle Vanem
+
 2014-11-20  Gisle Vanem  <gvanem@yahoo.no>
 
 	* build_info.c.in: Assume large file for WINDOWS
diff --git a/src/progress.c b/src/progress.c
index aa988301..479eaffa 100644
--- a/src/progress.c
+++ b/src/progress.c
@@ -840,11 +840,13 @@ cols_to_bytes (const char *mbs, const int cols, int *ncols)
   return bytes;
 }
 #else
-# define count_cols(mbs) ((int)(strlen(mbs)))
-# define cols_to_bytes(mbs, cols, *ncols) do {  \
-    *ncols = cols;                              \
-    bytes = cols;                               \
-}while (0)
+static int count_cols (const char *mbs) { return (int) strlen(mbs); }
+static int
+cols_to_bytes (const char *mbs _GL_UNUSED, const int cols, int *ncols)
+{
+  *ncols = cols;
+  return cols;
+}
 #endif
 
 static const char *