encoder.cpp: In function 'int encode(int, int, int)':
encoder.cpp:12:10: warning: variable 'f' set but not used [-Wunused-but-set-variable]
12 | bool f,s;
| ^
encoder.cpp:12:12: warning: variable 's' set but not used [-Wunused-but-set-variable]
12 | bool f,s;
| ^
encoder.cpp:25:10: warning: variable 'f' set but not used [-Wunused-but-set-variable]
25 | bool f,s;
| ^
encoder.cpp:25:12: warning: variable 's' set but not used [-Wunused-but-set-variable]
25 | bool f,s;
| ^
encoder.cpp:9:7: warning: unused variable 'h' [-Wunused-variable]
9 | int h;
| ^
encoder.cpp:33:1: warning: control reaches end of non-void function [-Wreturn-type]
33 | }
| ^