Skip to content

Commit 31836f6

Browse files
committed
fdsdump: jsonRawPrinter: fix typo in an exception and remove unused variables
1 parent 58541a0 commit 31836f6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/tools/fdsdump/src/lister/jsonRawPrinter.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ JsonRawPrinter::JsonRawPrinter(const shared_iemgr &iemgr, const std::string &arg
3636

3737
if (m_biflow_hide_reverse && !m_biflow_split) {
3838
throw std::invalid_argument(
39-
"JSON output: reverse field hidding requires enabled biflow splitting");
39+
"JSON output: reverse field hiding requires enabled biflow splitting");
4040
}
4141
}
4242

@@ -68,8 +68,6 @@ unsigned int
6868
JsonRawPrinter::print_record(Flow *flow)
6969
{
7070
uint32_t flags = 0;
71-
int printed = 0;
72-
int ret;
7371

7472
if (m_biflow_hide_reverse) {
7573
flags |= FDS_CD2J_REVERSE_SKIP;

0 commit comments

Comments
 (0)