Explorar o código

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

Oswald Buddenhagen %!s(int64=19) %!d(string=hai) anos
pai
achega
6d229848a5
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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;
 						}