mirror of
https://git.openafs.org/openafs.git
synced 2025-01-20 07:51:00 +00:00
ubik-uninitialized-var-20081018
LICENSE MIT 'pass' must be initialized. do so.
This commit is contained in:
parent
f69137625f
commit
7e8c41d53f
@ -605,6 +605,7 @@ urecovery_Interact(void *dummy)
|
||||
}
|
||||
#endif
|
||||
|
||||
pass = 0;
|
||||
while (length > 0) {
|
||||
tlen = (length > sizeof(tbuffer) ? sizeof(tbuffer) : length);
|
||||
#ifndef AFS_PTHREAD_ENV
|
||||
|
@ -560,7 +560,6 @@ SDISK_SendFile(rxcall, file, length, avers)
|
||||
close(fd);
|
||||
goto failed;
|
||||
}
|
||||
#else
|
||||
pass = 0;
|
||||
#endif
|
||||
memcpy(&ubik_dbase->version, &tversion, sizeof(struct ubik_version));
|
||||
|
Loading…
Reference in New Issue
Block a user