Skip to content

Commit

Permalink
Fix compilation warnings
Browse files Browse the repository at this point in the history
Signed-off-by: Shard Gupta <[email protected]>
  • Loading branch information
shardgupta committed Mar 3, 2025
1 parent ee1a9fb commit b722248
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion contrib/babelfishpg_tsql/src/backend_parser/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "src/pltsql.h"
#include "tcop/tcopprot.h"

int pgtsql_base_yydebug;
// int pgtsql_base_yydebug;

List *babelfishpg_tsql_raw_parser(const char *str, RawParseMode mode);

Expand Down
3 changes: 0 additions & 3 deletions contrib/babelfishpg_tsql/src/pl_comp.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,6 @@ bool pltsql_DumpExecTree = false;
bool pltsql_check_syntax = false;

PLtsql_function *pltsql_curr_compile;
int pltsql_curr_compile_body_lineno; /* lineno of
* function/procedure body in
* CREATE */

/* A context appropriate for short-term allocs during compilation */
MemoryContext pltsql_compile_tmp_cxt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,8 @@

#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Woverloaded-virtual"
extern "C" {
#include "antlr4-runtime.h" // antlr4-cpp-runtime
}
#pragma GCC diagnostic pop

#include "antlr4-runtime.h" // antlr4-cpp-runtime
#include "tree/ParseTreeWalker.h" // antlr4-cpp-runtime
#include "tree/ParseTreeProperty.h" // antlr4-cpp-runtime

Expand Down

0 comments on commit b722248

Please sign in to comment.