4 months ago
Added return statement to fix compiler warnings
| lib/postgresql_stubs.c | file | annotate | diff | revisions |
1.1 --- a/lib/postgresql_stubs.c 1.2 +++ b/lib/postgresql_stubs.c 1.3 @@ -779,6 +779,7 @@ 1.4 if (error) { 1.5 free(buf); 1.6 caml_failwith("Postgresql.escape_string_conn: failed to escape string"); 1.7 + return Val_unit; 1.8 } else { 1.9 value v_res = caml_alloc_string(n_written); 1.10 memcpy(String_val(v_res), buf, n_written);