Skip to content

Commit a8dd6e7

Browse files
committed
Fix -Wshadow build error from previous commit
Signed-off-by: Tristan Partin <[email protected]>
1 parent 4478f3f commit a8dd6e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/utils/fmgr/dfmgr.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,13 +185,13 @@ neon_try_load(const char *name)
185185
else if (pkglib_path[0] != '\0' &&
186186
strncmp(request_name, pkglib_path, pkglib_path_len) == 0)
187187
{
188-
bool have_slash;
188+
bool trailing_slash;
189189
char *new_request_name;
190190

191191
/* If there is a directory separator, it should be removed. */
192-
have_slash = request_name[pkglib_path_len] == '/';
192+
trailing_slash = request_name[pkglib_path_len] == '/';
193193

194-
new_request_name = psprintf("%s", request_name + pkglib_path_len + (int)have_slash);
194+
new_request_name = psprintf("%s", request_name + pkglib_path_len + (int)trailing_slash);
195195
pfree(request_name);
196196
request_name = new_request_name;
197197

0 commit comments

Comments
 (0)