Skip to content

Commit

Permalink
Fix compiler warnings.
Browse files Browse the repository at this point in the history
Clean up...

Clean up...

Clean up...

Clean up ...
  • Loading branch information
jackdelv committed Aug 14, 2023
1 parent f1380b8 commit 13b524a
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
8 changes: 8 additions & 0 deletions plugins/parquet/parquetembed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,10 @@ namespace parquetembed
{
return 'r';
}
else
{
failx("Invalid options parameter.");
}
}

/**
Expand Down Expand Up @@ -911,6 +915,8 @@ namespace parquetembed
return (*array_visitor)->int32_arr->Value(index);
case 64:
return (*array_visitor)->int64_arr->Value(index);
default:
failx("getSigned: Invalid size %i", (*array_visitor)->size);
}
}

Expand All @@ -926,6 +932,8 @@ namespace parquetembed
return (*array_visitor)->uint32_arr->Value(index);
case 64:
return (*array_visitor)->uint64_arr->Value(index);
default:
failx("getUnsigned: Invalid size %i", (*array_visitor)->size);
}
}

Expand Down
4 changes: 4 additions & 0 deletions system/jhtree/ctfile.cpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
/*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand Down
6 changes: 5 additions & 1 deletion system/jhtree/ctfile.hpp
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
/*##############################################################################
HPCC SYSTEMS software Copyright (C) 2012 HPCC Systems®.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand Down Expand Up @@ -511,4 +515,4 @@ interface IIndexCompressor : public IInterface
};


#endif
#endif
8 changes: 1 addition & 7 deletions vcpkg-linux.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,7 @@
"-DSUPPRESS_V8EMBED=ON",
"-DSUPPRESS_REMBED=ON"
],
"editor.formatOnSave": false,
"files.associations": {
"*.json": "json",
"*.mod": "ecl",
"string_view": "cpp",
"iosfwd": "cpp"
}
"editor.formatOnSave": false
},
"extensions": {
"recommendations": [
Expand Down

0 comments on commit 13b524a

Please sign in to comment.