in reply to ignoring errors
I do not want the error logs to fill up with the useless void errors.They are not errors, they are warnings and as such they will not kill your program but indicate that something may be wrong. Far better to check that indeed it is harmless or not and then either switch off the warnings or repair it.
Another way to "solve" this problem is to write a script that filters out all these "useless use of ..." warnings, but I would consider that cheating.
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
|
|---|