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 intostrigeus:masterfrom
ihatetoregister:patch-1
Open

Change function return value to void as it does not return anything, removes warning#4
ihatetoregister wants to merge 1 commit intostrigeus:masterfrom
ihatetoregister:patch-1

Conversation

@ihatetoregister
Copy link

@ihatetoregister ihatetoregister commented Dec 5, 2017

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