Skip to content
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ project(lmapd VERSION 0.4.0 LANGUAGES C)
option(BUILD_SHARED_LIBS "Build the shared library" OFF)
option(BUILD_TESTS "Build test programs" ON)

set(CMAKE_BUILD_TYPE RelWithDebInfo)

# experimental code coverage stuff...
#set(CMAKE_CXX_FLAGS "-g -O0 -Wall -fprofile-arcs -ftest-coverage")
#set(CMAKE_C_FLAGS "-g -O0 -Wall -W -fprofile-arcs -ftest-coverage")
Expand Down
4 changes: 2 additions & 2 deletions src/csv.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ append(FILE *file, const char delimiter, const char *field)
{
int i, need_quote = 0;
const char quote = '"';

if (! field) {
fprintf(file, "\n");
return;
Expand All @@ -57,7 +57,7 @@ append(FILE *file, const char delimiter, const char *field)
break;
}
}

if (need_quote) {
fputc(quote, file);
for (i = 0; field[i]; i++) {
Expand Down
Loading