diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-04-24 18:16:04 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-04-24 18:16:04 +0100 |
commit | cbd2a39e326305addca6214d1fbd5a901ea95cbb (patch) | |
tree | 7dc8dcf9345120e58c0293448f3c4a10d6fe9a8d | |
parent | Build most things by default (diff) | |
download | icetray-cbd2a39e326305addca6214d1fbd5a901ea95cbb.tar.bz2 icetray-cbd2a39e326305addca6214d1fbd5a901ea95cbb.tar.xz icetray-cbd2a39e326305addca6214d1fbd5a901ea95cbb.zip |
Don't terminate the SQL command with NULL, std::string doesn't require it
-rw-r--r-- | icetray/tool/embed.sql.cpp.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/icetray/tool/embed.sql.cpp.m4 b/icetray/tool/embed.sql.cpp.m4 index 7043f78..c150b4d 100644 --- a/icetray/tool/embed.sql.cpp.m4 +++ b/icetray/tool/embed.sql.cpp.m4 @@ -2,6 +2,6 @@ changecom(`@@') #include "NAME.sql.h" const std::string NAMESPACE::NAME::sql({ -patsubst(esyscmd(`xxd -p -c 12 ' SQL), `\(..\)', `0x\1, ')0x00}); +patsubst(esyscmd(`xxd -p -c 12 ' SQL), `\(..\)', `0x\1, ')0x0a}); const std::size_t NAMESPACE::NAME::hash(std::hash<std::string>()(sql)); |