/in/foo.cc: In member function 'void SUFFIXARRAY::build_height()':
/in/foo.cc:45:12: warning: unused variable 'j' [-Wunused-variable]
int i, j, k = 0;
^
/in/foo.cc: In member function 'int SUFFIXARRAY::getlcp(int, int)':
/in/foo.cc:67:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if (l>r)swap(l,r);l++;
^~
/in/foo.cc:67:23: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if (l>r)swap(l,r);l++;
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:114:10: warning: unused variable 'l2' [-Wunused-variable]
int l2=strlen(s2);
^~