Explorar o código

assert !where implying !pseudo

to help poor coverity.
Oswald Buddenhagen %!s(int64=11) %!d(string=hai) anos
pai
achega
9932352df0
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/config.c

+ 1 - 0
src/config.c

@@ -326,6 +326,7 @@ load_config( const char *where, int pseudo )
 	char buf[1024];
 
 	if (!where) {
+		assert( !pseudo );
 		nfsnprintf( path, sizeof(path), "%s/." EXE "rc", Home );
 		cfile.file = path;
 	} else