#3144 closed defect (invalid)
Error compiling missing bracket
Reported by: | mstolle | Owned by: | |
---|---|---|---|
Priority: | critical | Component: | General |
Severity: | medium | Keywords: | |
Cc: | Sensitive: | no |
Description
Revision
8310
Issue Description
/tmp/oscam-svn/module-lcd.c: In function ‘refresh_lcd_file’:
/tmp/oscam-svn/module-lcd.c:28: warning: left-hand operand of comma expression has no effect
/tmp/oscam-svn/module-lcd.c:28: error: expected ‘)’ before ‘;’ token
/tmp/oscam-svn/module-lcd.c:29: error: too few arguments to function ‘get_tmp_dir_filename’
/tmp/oscam-svn/module-lcd.c:29: error: expected ‘;’ before ‘}’ token
When the issue occurs
compiling
How the issue is reproducable
compiling
Solution
Change module-lcd.c
old:
get_tmp_dir_filename(temp_file, sizeof(temp_file, "oscam.lcd.tmp");
new:
get_tmp_dir_filename(temp_file, sizeof(temp_file), "oscam.lcd.tmp");
Note:
See TracTickets
for help on using tickets.
Have not seen that there is a similar ticket.