Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#2633 closed defect (invalid)

oscam for dockstar compiler problem

Reported by: Vlado Fogo Owned by:
Priority: trivial Component: ! Please select...
Severity: medium Keywords: dockstar, cs_switch_led
Cc: Sensitive: no

Description

Revision

7164

Issue Description

problem via define parameter cs_switch_led

When the issue occurs

via compiler i see this error:

arm-openwrt-linux-uclibcgnueabi-dockstar
oscam.c: In function 'cs_switch_led':
oscam.c:5096: warning: 'return' with a value, in function returning void

Change History (2)

comment:1 by mike28, 11 years ago

Resolution: invalid
Status: newclosed

Are u blind! This is a warning not an error!
Don't open ticket for Warnings!

comment:2 by gf, 11 years ago

5096 if(!cs_malloc(&arm_led,sizeof(struct s_arm_led), -1)) return NULL;

should be just return....ignore the warning for now it is harmless.

Note: See TracTickets for help on using tickets.