Skip to content

Commit

Permalink
[Utils] Fix unitialized variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
abh3 authored and simonmichal committed Dec 10, 2018
1 parent 2aee7ea commit 96c4838
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/XrdOuc/XrdOucUtils.cc
Expand Up @@ -351,7 +351,7 @@ int XrdOucUtils::GidName(gid_t gID, char *gName, int gNsz, time_t keepT)
static const int addGsz = 4096;
struct group *gEnt, gStruct;
char gBuff[1024], *gBp = gBuff;
int glen, gBsz = sizeof(gBuff), aOK = 1;
int glen = 0, gBsz = sizeof(gBuff), aOK = 1;
int n, retVal = 0;

// Get ID from cache, if allowed
Expand Down

0 comments on commit 96c4838

Please sign in to comment.