/in/foo.cc: In function 'void operator+=(int&, Node&)':
/in/foo.cc:48:7: warning: unused variable 'nResult' [-Wunused-variable]
int nResult = 0;
^~~~~~~
/in/foo.cc: In function 'int main(int, char**)':
/in/foo.cc:258:18: warning: unused variable 'nResult' [-Wunused-variable]
int nCount = 6, nResult = 1;
^~~~~~~
/in/foo.cc:269:11: warning: 'L1.LinkList::headNode' may be used uninitialized in this function [-Wmaybe-uninitialized]
LinkList L1(ary_nInstance, nCount);
^~
/in/foo.cc:137:11: warning: 'ptrCurrentNode' may be used uninitialized in this function [-Wmaybe-uninitialized]
delete ptrCurrentNode;
^~~~~~~~~~~~~~
/in/foo.cc:132:9: note: 'ptrCurrentNode' was declared here
Node *ptrCurrentNode = NULL, *ptrNewNode = NULL, *ptrPriorNode = NULL;
^~~~~~~~~~~~~~