Skip to content
Permalink
Browse files

Remove extraneous parens.

  • Loading branch information...
dwsteele committed May 21, 2019
1 parent 936b8a2 commit e1cce9c6147446c026f528cc4afe518de0bcb87f
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/storage/posix/storage.c
  2. +1 −1 src/storage/s3/storage.c
@@ -284,7 +284,7 @@ storagePosixList(THIS_VOID, const String *path, bool errorOnMissing, const Strin
MEM_CONTEXT_TEMP_BEGIN()
{
// Prepare regexp if an expression was passed
RegExp *regExp = (expression == NULL) ? NULL : regExpNew(expression);
RegExp *regExp = expression == NULL ? NULL : regExpNew(expression);

// Create the string list now that we know the directory is valid
result = strLstNew();
@@ -434,7 +434,7 @@ storageS3List(THIS_VOID, const String *path, bool errorOnMissing, const String *
const String *continuationToken = NULL;

// Prepare regexp if an expression was passed
RegExp *regExp = (expression == NULL) ? NULL : regExpNew(expression);
RegExp *regExp = expression == NULL ? NULL : regExpNew(expression);

// Build the base prefix by stripping of the initial /
const String *basePrefix;

0 comments on commit e1cce9c

Please sign in to comment.
You can’t perform that action at this time.