Skip to content

Commit f07eb24

Browse files
committed
Make a variable const (because we can)
1 parent 348a23b commit f07eb24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test-pgsql.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ TEST_CASE("create table and insert something")
138138

139139
TEST_CASE("empty result object should return fatal status")
140140
{
141-
pg_result_t result;
141+
pg_result_t const result;
142142
REQUIRE(result.status() == PGRES_FATAL_ERROR);
143143
REQUIRE_FALSE(result);
144144
REQUIRE(result.num_fields() == 0);

0 commit comments

Comments
 (0)