Skip to content

Commit

Permalink
Put guard around SPI include
Browse files Browse the repository at this point in the history
Necessary due to unused parameters in SPI includes.
  • Loading branch information
jasonmp85 committed May 25, 2015
1 parent befe15c commit f1ef1f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/distribution_metadata.c
Expand Up @@ -21,7 +21,10 @@
#include <stdint.h>

#include "catalog/pg_type.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#include "executor/spi.h"
#pragma GCC diagnostic pop
#include "lib/stringinfo.h"
#include "nodes/pg_list.h"
#include "nodes/primnodes.h"
Expand Down

0 comments on commit f1ef1f7

Please sign in to comment.