[BusyBox] [PATCH] compiler warning removal in strings.c
Stewart Brodie
stewart.brodie at pace.co.uk
Mon Mar 3 04:46:03 UTC 2003
This patch is to stop compiler warnings from miscutils/strings.c about
variables which may be used before being initialised.
The variable "string" is passed to free() but may not be initialised. It may
not be possible to reach the free without initialising the variable but I
cannot be certain that my inspection of the code has not missed a
code path. Initialising the value to NULL will remove any doubt. The
variable "t" is now initialised to zero for safety.
--
Stewart Brodie, Senior Software Engineer Cambridge CVS administration team
Pace Micro Technology PLC
645 Newmarket Road
Cambridge, CB5 8PB, United Kingdom WWW: http://www.pacemicro.com/
begin 644 strings.patch,fff
M26YD97 at Z(&UI<V-U=&EL<R]S=')I;F=S+F,*/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/0I20U, at 9FEL93H@+W9A<B]C=G,O8G5S>6)O>"]M:7-C=71I;',O<W1R
M:6YG<RYC+'8*<F5T<FEE=FEN9R!R979I<VEO;B`Q+C0*9&EF9B`M8B`M=R`M
M=2`M<C$N-"!S=')I;F=S+F,*+2TM(&UI<V-U=&EL<R]S=')I;F=S+F,),3,@
M2F%N(#(P,#,@,C,Z,3DZ,S$@+3`P,#`),2XT"BLK*R!M:7-C=71I;',O<W1R
M:6YG<RYC"3, at 36%R(#(P,#,@,3`Z-#DZ,3(@+3`P,#`*0$`@+30P+#D@*S0P
M+#D at 0$`*(`EE>'1E<FX at 8VAA<B`J;W!T87)G.PH@"65X=&5R;B!I;G0@;W!T
M:6YD.PH@"6EN="!N/30L(&,L(&DL(&]P=#TP+"!A/3`["BT);&]N9R`@("!T
M+"!C;W5N=#L**PEL;VYG("`@('0],"P at 8V]U;G0["B`)1DE,12`J9FEL93L*
M+0EC:&%R("IS=')I;F<["BL)8VAA<B`J<W1R:6YG(#T at 3E5,3#L*(`D*(`EW
M:&EL92`H*&D@/2!G971O<'0H87)G8RP at 87)G=BP@(F%N.F]F(BDI(#X@,"D*
-(`D)<W=I=&-H*&DI"G1O
`
end
More information about the busybox
mailing list