Skip to content

Change function return value to void as it does not return anything, removes warning - #4

Open
ihatetoregister wants to merge 1 commit into
strigeus:masterfrom
ihatetoregister:patch-1
Open

ihatetoregister wants to merge 1 commit into
strigeus:masterfrom
ihatetoregister:patch-1

Conversation

@ihatetoregister

@ihatetoregister ihatetoregister commented Dec 5, 2017

Copy link
Copy Markdown

Minor fix for the run_for_frequencies function that was declared as int but did not return anything and generated a warning:

$ g++ -o sparsnas_decode -O3 sparsnas_decode.cpp
sparsnas_decode.cpp:310:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
1 warning generated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant