3 ms·
Is there any reason for the void cast here? Theres no return value in use. (void)strlcpy(des_pass, pass,sizeof(des_pass));
by TheAdamist 3y ago
Is there any reason for the void cast here? Theres no return value in use.
(void)strlcpy(des_pass, pass,sizeof(des_pass));
- mandarax8 3y agostrlcpy returns a size_t, so just to silence the discarded return value warning https://linux.die.net/man/3/strlcpy https://linux.die.net/man/3/strlcpy