Text  |   XML   |   Visible Warnings:

Irssi : Irssi analysis 1 : Ignored Return Value  at write-buffer.c:110

Categories: LANG.FUNCS.IRV CWE:252 CWE:253 POW10:7
Warning ID: 2403.2418
Procedure: write_buffer_flush_rec
Trace: View
Modified: Wed Sep 2 12:25:24 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
  /u1/paul/SATE/2010/c/irssi/irssi-0.8.14/src/core/write-buffer.c
  Enter write_buffer_flush_rec
101 static int write_buffer_flush_rec(void *handlep, BUFFER_REC *rec) 
102 {
103         GSList *tmp;
104         int handle, size;
105  
106         handle = GPOINTER_TO_INT(handlep);
107         for (tmp = rec->blocks; tmp != NULL; tmp = tmp->next) {
108                 size = tmp->data != rec->active_block ? BUFFER_BLOCK_SIZE : 
109                         rec->active_block_pos;
110                 write(handle, tmp->data, size);     /* Ignored Return Value */
111         }
112  
113         empty_blocks = g_slist_concat(empty_blocks, rec->blocks);
114         g_free(rec);
115         return TRUE;
116 } 




Change Warning 2403.2418 : Ignored Return Value

Priority:
State:
Finding:
Owner:
Note: