diff options
Diffstat (limited to 'src/apps/gie.cpp')
| -rw-r--r-- | src/apps/gie.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/apps/gie.cpp b/src/apps/gie.cpp index 4ae97130..6a67b55d 100644 --- a/src/apps/gie.cpp +++ b/src/apps/gie.cpp @@ -874,7 +874,7 @@ static int expect_failure_with_errno_message (int expected, int got) { /* For test purposes, we want to call a transformation of the same */ /* dimensionality as the number of dimensions given in accept */ -static PJ_COORD expect_trans_n_dim (PJ_COORD ci) { +static PJ_COORD expect_trans_n_dim (const PJ_COORD& ci) { if (4==T.dimensions_given_at_last_accept) return proj_trans (T.P, T.dir, ci); @@ -1192,7 +1192,7 @@ static int errno_from_err_const (const char *err_const) { const size_t n = sizeof lookup / sizeof lookup[0]; size_t i, len; int ret; - char tolower_err_const[100]; + char tolower_err_const[100] = {}; /* Make a lower case copy for matching */ for (i = 0; i < 99; i++) { |
