aboutsummaryrefslogtreecommitdiff
path: root/src/pq
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-07-21 16:27:55 +0200
committerChristian Grothoff <christian@grothoff.org>2021-07-21 16:28:01 +0200
commitee7b00389ed9f801ec7fb3d9d729abe9a6e47bb1 (patch)
treed3c35989be84f5c1b6bf73dc84024ac3195b3638 /src/pq
parentfe829dd7655d9f64a570e186831e80dfb2850d96 (diff)
downloadgnunet-ee7b00389ed9f801ec7fb3d9d729abe9a6e47bb1.tar.gz
gnunet-ee7b00389ed9f801ec7fb3d9d729abe9a6e47bb1.zip
-de-deprecate
Diffstat (limited to 'src/pq')
-rw-r--r--src/pq/pq.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/pq/pq.c b/src/pq/pq.c
index 356472fa3..0b6ef8729 100644
--- a/src/pq/pq.c
+++ b/src/pq/pq.c
@@ -123,16 +123,14 @@ GNUNET_PQ_cleanup_result (struct GNUNET_PQ_ResultSpec *rs)
123} 123}
124 124
125 125
126int 126enum GNUNET_GenericReturnValue
127GNUNET_PQ_extract_result (PGresult *result, 127GNUNET_PQ_extract_result (PGresult *result,
128 struct GNUNET_PQ_ResultSpec *rs, 128 struct GNUNET_PQ_ResultSpec *rs,
129 int row) 129 int row)
130{ 130{
131 unsigned int i;
132
133 if (NULL == result) 131 if (NULL == result)
134 return GNUNET_SYSERR; 132 return GNUNET_SYSERR;
135 for (i = 0; NULL != rs[i].conv; i++) 133 for (unsigned int i = 0; NULL != rs[i].conv; i++)
136 { 134 {
137 struct GNUNET_PQ_ResultSpec *spec; 135 struct GNUNET_PQ_ResultSpec *spec;
138 enum GNUNET_GenericReturnValue ret; 136 enum GNUNET_GenericReturnValue ret;