Skip to content

Commit fa188b5

Browse files
committed
Remove inappropriate semicolons after function definitions.
Solaris Studio warns about this, and some compilers might think it's an outright syntax error.
1 parent 81e8264 commit fa188b5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/backend/utils/adt/json.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ array_to_json(PG_FUNCTION_ARGS)
10681068
array_to_json_internal(array, result, false);
10691069

10701070
PG_RETURN_TEXT_P(cstring_to_text(result->data));
1071-
};
1071+
}
10721072

10731073
/*
10741074
* SQL function array_to_json(row, prettybool)
@@ -1085,7 +1085,7 @@ array_to_json_pretty(PG_FUNCTION_ARGS)
10851085
array_to_json_internal(array, result, use_line_feeds);
10861086

10871087
PG_RETURN_TEXT_P(cstring_to_text(result->data));
1088-
};
1088+
}
10891089

10901090
/*
10911091
* SQL function row_to_json(row)
@@ -1101,7 +1101,7 @@ row_to_json(PG_FUNCTION_ARGS)
11011101
composite_to_json(array, result, false);
11021102

11031103
PG_RETURN_TEXT_P(cstring_to_text(result->data));
1104-
};
1104+
}
11051105

11061106
/*
11071107
* SQL function row_to_json(row, prettybool)
@@ -1118,7 +1118,7 @@ row_to_json_pretty(PG_FUNCTION_ARGS)
11181118
composite_to_json(array, result, use_line_feeds);
11191119

11201120
PG_RETURN_TEXT_P(cstring_to_text(result->data));
1121-
};
1121+
}
11221122

11231123
/*
11241124
* Produce a JSON string literal, properly escaping characters in the text.

0 commit comments

Comments
 (0)