removed duplicate const declaration
authorFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sat, 16 Sep 2017 09:25:13 +0000 (11:25 +0200)
committerFriedrich Beckmann <friedrich.beckmann@gmx.de>
Sun, 17 Sep 2017 07:23:48 +0000 (09:23 +0200)
During clang compilation the following warning

  duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
  extern const char const examples_dir[];
                  ^
is shown. I removed the duplicate const declaration to avoid the
warning.

src/libpspp/version.h

index b1826910d871390cae85ca894db2ac1b4210a040..7cd8f49693456404930f934869e28837aea7b994 100644 (file)
@@ -36,7 +36,7 @@ extern const char build_system[];
 extern const char locale_dir[];
 
 /* The Examples directory */
-extern const char const examples_dir[];
+extern const char examples_dir[];
 
 /* From the AUTHORS file */
 extern const char *const authors[];