/in/foo.cc: In member function 'void Intarray::Insertsort(int)':
/in/foo.cc:27:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(n==0) Insert(0,x);int i;
^~
/in/foo.cc:27:24: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
if(n==0) Insert(0,x);int i;
^~~
/in/foo.cc: In member function 'int Intarray::Binsearch(int)':
/in/foo.cc:40:7: warning: unused variable 'i' [-Wunused-variable]
int i=0;int j=n-1;
^
/in/foo.cc:40:15: warning: unused variable 'j' [-Wunused-variable]
int i=0;int j=n-1;
^
/in/foo.cc:41:3: warning: no return statement in function returning non-void [-Wreturn-type]
}
^