foo.cc: In function 'int main()':
foo.cc:110:28: warning: 'kk' may be used uninitialized in this function [-Wmaybe-uninitialized]
ans-=tree[tree[x].son[kk]].wtcl;
^
foo.cc:16:11: warning: 'yyyy' may be used uninitialized in this function [-Wmaybe-uninitialized]
return (y-x)*r[d];
^
foo.cc:91:37: note: 'yyyy' was declared here
double ans,xx,yy,xf,yf,xh,yh,xxxx,yyyy,hh;
^
foo.cc:16:11: warning: 'xxxx' may be used uninitialized in this function [-Wmaybe-uninitialized]
return (y-x)*r[d];
^
foo.cc:91:32: note: 'xxxx' was declared here
double ans,xx,yy,xf,yf,xh,yh,xxxx,yyyy,hh;
^
foo.cc:124:56: warning: 'yyy' may be used uninitialized in this function [-Wmaybe-uninitialized]
yh=2*pi*(ee[tree[y].d-1]-ee[tree[h].d])-(tree[y].wtcl-tree[yyy].wtcl);
^
foo.cc:123:18: warning: 'xxx' may be used uninitialized in this function [-Wmaybe-uninitialized]
xh=tree[x].wtcl-tree[xxx].wtcl;
^