From 4fa9e041bf889dbf2ed054975e7b233526f43ecd Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 20 Nov 2017 14:57:04 +0100 Subject: [PATCH] fix cppcheck report (missing curly race) --- s/travis-build | 1 + src/direction.h | 1 + src/keyword.h | 1 + 3 files changed, 3 insertions(+) diff --git a/s/travis-build b/s/travis-build index aa29be7fc..4c5237fdf 100755 --- a/s/travis-build +++ b/s/travis-build @@ -22,6 +22,7 @@ s/cmake-init s/build cd $ROOT inifile +cppcheck --version cppcheck --quiet --error-exitcode=1 src s/runtests -V integration_tests diff --git a/src/direction.h b/src/direction.h index 8f0932aaf..14ced4c1c 100644 --- a/src/direction.h +++ b/src/direction.h @@ -30,5 +30,6 @@ extern "C" extern const char * directions[]; #ifdef __cplusplus +} #endif #endif diff --git a/src/keyword.h b/src/keyword.h index 9be7f9f4e..ebdd4d5e7 100644 --- a/src/keyword.h +++ b/src/keyword.h @@ -87,5 +87,6 @@ extern "C" const char *keyword(keyword_t kwd); #ifdef __cplusplus +} #endif #endif