View Single Post
Old 10/05/2013, 03:07 PM   #3
Kwarde
High-roller
 
Kwarde's Avatar
 
Join Date: Nov 2009
Location: The Netherlands
Posts: 2,634
Reputation: 1653
Default Re: Is it bad to have sscanf warning: No default value found?

It is not really bad but it is annoying. As far as I know it's not that bad but I'm not sure about this!
To fix it:

For example, if you have sscanf(params, "dD", val1, val2)), you don't have the default value! To add a default value:
sscanf(params, "dD(1)", val1, val2)). Now this 'val2' will have default value 1!
__________________
Do not click on this URL -It is secret information
RIP Slayer 1981-2019 \m/
Discord: Kwarde#1991
Kwarde is offline   Reply With Quote