mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
sunrpc: Fix possibly uninitialized variable warnings
These warnings are encountered when building with GCC 4.9. Change-Id: I58b0c4f8c2d1724e42bb8037104ef93337c46f3d Signed-off-by: Zhao Wei Liew <zhaoweiliew@gmail.com>
This commit is contained in:
parent
db79ac147f
commit
e8e41c8550
2 changed files with 2 additions and 2 deletions
|
@ -249,7 +249,7 @@ static inline time_t convert_to_wallclock(time_t sinceboot)
|
|||
|
||||
static inline time_t get_expiry(char **bpp)
|
||||
{
|
||||
int rv;
|
||||
int rv = 0;
|
||||
struct timespec boot;
|
||||
|
||||
if (get_int(bpp, &rv))
|
||||
|
|
|
@ -500,7 +500,7 @@ static int unix_gid_parse(struct cache_detail *cd,
|
|||
{
|
||||
/* uid expiry Ngid gid0 gid1 ... gidN-1 */
|
||||
int uid;
|
||||
int gids;
|
||||
int gids = 0;
|
||||
int rv;
|
||||
int i;
|
||||
int err;
|
||||
|
|
Loading…
Reference in a new issue