projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c69547d
)
* plugins.c (krb5int_get_plugin_filenames): Avoid shadowing local variable names
author
Ken Raeburn
<raeburn@mit.edu>
Fri, 5 May 2006 03:36:05 +0000
(
03:36
+0000)
committer
Ken Raeburn
<raeburn@mit.edu>
Fri, 5 May 2006 03:36:05 +0000
(
03:36
+0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17980
dc483132
-0cff-0310-8789-
dd5450dbe970
src/util/support/plugins.c
patch
|
blob
|
history
diff --git
a/src/util/support/plugins.c
b/src/util/support/plugins.c
index 43c319cdef23c18af6d38cdff0f3ad129e4465df..41afbf1ffd836f297d50580f44d1c6d103c8c8ff 100644
(file)
--- a/
src/util/support/plugins.c
+++ b/
src/util/support/plugins.c
@@
-360,7
+360,7
@@
krb5int_get_plugin_filenames (const char * const *filebases, char ***filenames)
const char *fileexts[] = FILEEXTS;
char **tempnames = NULL;
int i;
-
+
if (!err) {
size_t count = 0;
for (i = 0; filebases[i] != NULL; i++, count++);
@@
-368,9
+368,9
@@
krb5int_get_plugin_filenames (const char * const *filebases, char ***filenames)
tempnames = calloc (count, sizeof (char *));
if (tempnames == NULL) { err = errno; }
}
-
+
if (!err) {
- int
i,
j;
+ int j;
for (i = 0; !err && (filebases[i] != NULL); i++) {
size_t baselen = strlen (filebases[i]);
for (j = 0; !err && (fileexts[j] != NULL); j++) {