B
Black Ice
If any compiler will give warning when meed variable show.
Following is the example code:
void foo()
{
int total;
if(...)
{
int total;
...
}
}
--
Regards,
Black Ice
Çë²»Òª»Ø¸´µ½ÎÒµÄÓÊÏä
×ÔÓÉ£¨liberty£©Î޷ǾÍÊÇÕâÑùÒ»ÖÖ³Ðŵ£ºÃ¿¸öÈ˽«»áµÃµ½Ò»ÖÖ±£ÕÏ£¬±£ÕÏÎÒÃÇ¿ÉÒÔÓë
ȨÍþ¡¢¶àÊý¡¢Á÷Ë×¼°ÓßÂÛµÄÓ°ÏìÏ࿹ºâ¡£
http://www.leoliu.net
Following is the example code:
void foo()
{
int total;
if(...)
{
int total;
...
}
}
--
Regards,
Black Ice
Çë²»Òª»Ø¸´µ½ÎÒµÄÓÊÏä
×ÔÓÉ£¨liberty£©Î޷ǾÍÊÇÕâÑùÒ»ÖÖ³Ðŵ£ºÃ¿¸öÈ˽«»áµÃµ½Ò»ÖÖ±£ÕÏ£¬±£ÕÏÎÒÃÇ¿ÉÒÔÓë
ȨÍþ¡¢¶àÊý¡¢Á÷Ë×¼°ÓßÂÛµÄÓ°ÏìÏ࿹ºâ¡£
http://www.leoliu.net