system/vold: cleanup compiler warnings (read of uninitialized memory).
system/vold/ScryptParameters.cpp:48:26: warning: Assigned value is garbage or undefined system/vold/ScryptParameters.cpp:48:43: warning: Assigned value is garbage or undefined system/vold/ScryptParameters.cpp:48:9: warning: Assigned value is garbage or undefined Bug: 26936282 Test: WITH_TIDY=1 WITH_STATIC_ANALYZER=1 mm Change-Id: I82ffffee48ee94ca5c7f3bbc64059f9cec109a92
This commit is contained in:
parent
1dfd1df2e3
commit
1a077b440a
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@
|
|||
#include <string.h>
|
||||
|
||||
bool parse_scrypt_parameters(const char* paramstr, int *Nf, int *rf, int *pf) {
|
||||
int params[3];
|
||||
int params[3] = {};
|
||||
char *token;
|
||||
char *saveptr;
|
||||
int i;
|
||||
|
|
Loading…
Reference in a new issue