Skip to content

Commit e1ad441

Browse files
committed
Fixed the following: BaseGenerator.cpp:334:63: warning: too many arguments for format [-Wformat-extra-args]
1 parent 863d84d commit e1ad441

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin2cpp/BaseGenerator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ namespace bin2cpp
331331
std::string headercomments = getHeaderTemplate();
332332
fprintf(cpp, "%s", headercomments.c_str());
333333
fprintf(cpp, "#include \"%s\"\n", headerFilename.c_str());
334-
fprintf(cpp, "#include <string>\n", headerFilename.c_str());
334+
fprintf(cpp, "#include <string>\n");
335335
fprintf(cpp, "\n");
336336
fprintf(cpp, "namespace %s\n", mNamespace.c_str());
337337
fprintf(cpp, "{\n");

0 commit comments

Comments
 (0)