Compilers sometimes complain about unused parameters; (void)"cast" is just a way to use a variable in the context of void, non-side-effect so that the compiler does not complain that it was "not used."
. Rodrigo, (void), ( , ). , (void)filename , .