summaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-httpd_private-get-products.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-04-20 13:39:18 +0200
committerChristian Grothoff <christian@grothoff.org>2020-04-20 13:39:18 +0200
commit64cc6eb8c6ed4b7867c76f57c7762414ab4d0685 (patch)
tree0fe7ae499fa9b43b85765192eb515358920d1ff6 /src/backend/taler-merchant-httpd_private-get-products.c
parent458dc3653b4aef54130c580fd41610aa03f61d68 (diff)
downloadmerchant-64cc6eb8c6ed4b7867c76f57c7762414ab4d0685.tar.gz
merchant-64cc6eb8c6ed4b7867c76f57c7762414ab4d0685.tar.bz2
merchant-64cc6eb8c6ed4b7867c76f57c7762414ab4d0685.zip
backenddb implementation work
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-get-products.c')
-rw-r--r--src/backend/taler-merchant-httpd_private-get-products.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/backend/taler-merchant-httpd_private-get-products.c b/src/backend/taler-merchant-httpd_private-get-products.c
index 8f70c9fe..21729a59 100644
--- a/src/backend/taler-merchant-httpd_private-get-products.c
+++ b/src/backend/taler-merchant-httpd_private-get-products.c
@@ -26,21 +26,18 @@
* Add product details to our JSON array.
*
* @param cls a `json_t *` JSON array to build
- * @param key unused
* @param product_id ID of the product
* @param in_stock how many are currently in stock (possibly locked), -1 for infinite
* @param unit in which unit is the stock measured in
*/
static void
add_product (void *cls,
- const struct GNUNET_HashCode *key,
const char *product_id,
long long in_stock,
const char *unit)
{
json_t *pa = cls;
- (void) key;
GNUNET_assert (0 ==
json_array_append_new (
pa,