summaryrefslogtreecommitdiff
path: root/cmds/incident_helper/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cmds/incident_helper/src/main.cpp')
-rw-r--r--cmds/incident_helper/src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmds/incident_helper/src/main.cpp b/cmds/incident_helper/src/main.cpp
index 418dc3fad761..5b6ac7af539c 100644
--- a/cmds/incident_helper/src/main.cpp
+++ b/cmds/incident_helper/src/main.cpp
@@ -73,7 +73,8 @@ static TextParserBase* selectParser(int section) {
case 2006:
return new BatteryTypeParser();
default:
- return NULL;
+ // Return no op parser when no specific ones are implemented.
+ return new NoopParser();
}
}