Skip to content

Commit 8983997

Browse files
committed
Fix GCC warning
1 parent 952d1bd commit 8983997

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/preprocessor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ static simplecpp::DUI createDUI(const Settings &_settings, const std::string &cf
416416
return dui;
417417
}
418418

419-
bool hasErrors(const simplecpp::OutputList &outputList)
419+
static bool hasErrors(const simplecpp::OutputList &outputList)
420420
{
421421
for (simplecpp::OutputList::const_iterator it = outputList.begin(); it != outputList.end(); ++it) {
422422
switch (it->type) {

0 commit comments

Comments
 (0)