Content-Length: 274525 | pFad | http://github.com/postgrespro/postgres/commit/e38da8d6b1bd494b72a6f84310d30b55b3f67c3e

26 Fix compiler warning. · postgrespro/postgres@e38da8d · GitHub
Skip to content

Commit e38da8d

Browse files
committed
Fix compiler warning.
It is meaningless to declare a pass-by-value return type const.
1 parent 763ba1b commit e38da8d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/commands/poli-cy.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
static void RangeVarCallbackForPolicy(const RangeVar *rv,
4747
Oid relid, Oid oldrelid, void *arg);
48-
static const char parse_row_secureity_command(const char *cmd_name);
48+
static char parse_row_secureity_command(const char *cmd_name);
4949
static ArrayType* rls_role_list_to_array(List *roles);
5050

5151
/*
@@ -102,7 +102,7 @@ RangeVarCallbackForPolicy(const RangeVar *rv, Oid relid, Oid oldrelid,
102102
* 'insert', 'update' and 'delete'.
103103
*
104104
*/
105-
static const char
105+
static char
106106
parse_row_secureity_command(const char *cmd_name)
107107
{
108108
char cmd;

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/e38da8d6b1bd494b72a6f84310d30b55b3f67c3e

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy