encoder.cpp: In function 'int encode(int, int, int)':
encoder.cpp:13:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int m = 0 ; cnt <= n ; m++)
^~~
encoder.cpp:16:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
preCalculate = true;
^~~~~~~~~~~~
encoder.cpp:24:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
decoder.cpp: In function 'int decode(int, int, int)':
decoder.cpp:15:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int m = 0 ; cnt <= n ; m++)
^~~
decoder.cpp:18:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
preCalculate = true;
^~~~~~~~~~~~