Skip to content

Commit fe6e7da

Browse files
committed
Squash one could-be-used-uninitialized warning
Interesting that Mac OS clang was the only compiler to spot it.
1 parent 9f9bd20 commit fe6e7da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pljava-so/src/main/c/ModelUtils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1223,7 +1223,7 @@ Java_org_postgresql_pljava_pg_LookupImpl__1cacheReference(JNIEnv* env, jobject _
12231223
JNIEXPORT jboolean JNICALL
12241224
Java_org_postgresql_pljava_pg_LookupImpl__1get_1fn_1expr_1variadic(JNIEnv* env, jobject _cls, jobject fcinfo_b)
12251225
{
1226-
bool result;
1226+
bool result = false;
12271227
FunctionCallInfo fcinfo = (*env)->GetDirectBufferAddress(env, fcinfo_b);
12281228
if ( NULL == fcinfo )
12291229
return JNI_FALSE; /* shouldn't happen; there's probably an exception */

0 commit comments

Comments
 (0)