Browse Source

Remove useless (void) statements

Remove statements that were added solely to silence "unused
variable" warnings, and that are not needed anymore.
master
Damien Goutte-Gattat 5 years ago
parent
commit
05ab6465e9
  1. 4
      src/scheme-file.c

4
src/scheme-file.c

@ -35,8 +35,6 @@ gfsec_scheme_file_get_file(gfsec_scheme_t scheme,
unsigned char **buffer,
size_t *len)
{
(void) authority;
if ( scheme != GFSEC_SCHEME_FILE )
return GFSEC_SCHEME_STATUS_UNSUPPORTED_SCHEME;
@ -57,8 +55,6 @@ gfsec_scheme_file_put_file(gfsec_scheme_t scheme,
unsigned char *buffer,
size_t len)
{
(void) authority;
if ( scheme != GFSEC_SCHEME_FILE )
return GFSEC_SCHEME_STATUS_UNSUPPORTED_SCHEME;

Loading…
Cancel
Save