T
Tobias Blass
Hi all,
I'm just reading fetchmail source code and found the following lines
/* env.c, line 37 */
void envquery(int argc,char **argv)
{
/* ... */
(void)argc;
(void)argc;
/*...*/
}
envquery is called (from main()) like this
envquery(argc,argv);
I don't really get the sense of these two (void)argc; . Does this have
any special meaning or is it really "take the value of argc and ignore
it"?
I'm just reading fetchmail source code and found the following lines
/* env.c, line 37 */
void envquery(int argc,char **argv)
{
/* ... */
(void)argc;
(void)argc;
/*...*/
}
envquery is called (from main()) like this
envquery(argc,argv);
I don't really get the sense of these two (void)argc; . Does this have
any special meaning or is it really "take the value of argc and ignore
it"?