Prechádzať zdrojové kódy

it's beyond me what this memset was supposed to do ...

Oswald Buddenhagen 19 rokov pred
rodič
commit
6d229848a5
1 zmenil súbory, kde vykonal 0 pridanie a 1 odobranie
  1. 0 1
      src/config.c

+ 0 - 1
src/config.c

@@ -331,7 +331,6 @@ load_config( const char *where, int pseudo )
 					*p = 0;
 					for (store = stores; store; store = store->next)
 						if (!strcmp( store->name, cfile.val + 1 )) {
-							memset( sptarg, 0, sizeof(*sptarg) );
 							*sptarg = store;
 							goto stpcom;
 						}