Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Unreachable Call  at string3.h:80

Categories: LANG.STRUCT.UC CWE:561
Warning ID: 2325.2335
Procedure: memset
Trace: View
Modified: Wed Sep 2 12:12:34 2009   show details
 
Priority: None
State: None
Finding: None
Owner: None
  edit properties

Legend [ X ]
Warning Location
Contributes
Parse Error
Other Warning
Two or More Loop Iterations
On Execution Path
Comment
Macro
Preprocessor
Include
Keyword
Preprocessed Away

Source  |  Language: C Hide Legend     
LineSource
  /usr/include/bits/string3.h
  Enter memset
77 __extern_always_inline void * 
78 __NTH (memset (void *__dest, int __ch, size_t __len)) 
79 {
80   if (__builtin_constant_p (__len) && __len == 0)     /* Unreachable Call */
81     {
82       __warn_memset_zero_len ();
83       return __dest;
84     }
85   return __builtin___memset_chk (__dest, __ch, __len, __bos0 (__dest));
86 




Change Warning 2325.2335 : Unreachable Call

Priority:
State:
Finding:
Owner:
Note: