i Have a Function,whose basic structure is
now when i run this code on Coverity tool, i'm getting error as negative returnCode:signed char fun() { signed char a; a=-1; return a; }
what can be done to solve this thing?
P.S : please mind that the code i shared is a basic one,
it has lot of dependenies in the program