Skip to content

Commit

Permalink
Remove unused exception parameter from dolores/indexing/configuration…
Browse files Browse the repository at this point in the history
…/DelosTableShardedObjectManager.h

Summary:
`-Wunused-exception-parameter` has identified an unused exception parameter. This diff removes it.

This:
```
try {
    ...
} catch (exception& e) {
    // no use of e
}
```
should instead be written as
```
} catch (exception&) {
```

If the code compiles, this is safe to land.

Reviewed By: palmje

Differential Revision: D55092123

fbshipit-source-id: 6038c6d229202746c376452da2ea1702316bbe0f
  • Loading branch information
r-barnes authored and facebook-github-bot committed Mar 20, 2024
1 parent 1ec4412 commit c9a81de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dwio/alpha/tools/StorageProperties.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ int main(int argc, char* argv[]) {
try {
partitionProperties =
catalog.getPartitionStorageProperties(ns, table, values);
} catch (const velox::VeloxException& e) {
} catch (const velox::VeloxException&) {
LOG(INFO) << "Skipping " << folly::join(",", values) << "...";
}

Expand Down

0 comments on commit c9a81de

Please sign in to comment.