gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-merchant] branch master updated: Fix compiler warnin


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] branch master updated: Fix compiler warnings.
Date: Fri, 17 Mar 2017 20:48:30 +0100

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository merchant.

The following commit(s) were added to refs/heads/master by this push:
     new 1c7e486  Fix compiler warnings.
1c7e486 is described below

commit 1c7e4862cd896ca5731a1b15cce16e7d99b8a3e2
Author: Marcello Stanisci <address@hidden>
AuthorDate: Fri Mar 17 20:48:15 2017 +0100

    Fix compiler warnings.
---
 src/include/taler_merchant_service.h     |  2 +-
 src/lib/merchant_api_track_transaction.c | 18 ------------------
 2 files changed, 1 insertion(+), 19 deletions(-)

diff --git a/src/include/taler_merchant_service.h 
b/src/include/taler_merchant_service.h
index 0d37111..7b8fa28 100644
--- a/src/include/taler_merchant_service.h
+++ b/src/include/taler_merchant_service.h
@@ -378,7 +378,7 @@ struct TALER_MERCHANT_TrackTransferDetails {
   /**
    * Order ID associated whit this payment.
    */
-  char *order_id;
+  const char *order_id;
 
 };
 
diff --git a/src/lib/merchant_api_track_transaction.c 
b/src/lib/merchant_api_track_transaction.c
index abb1d29..5349e47 100644
--- a/src/lib/merchant_api_track_transaction.c
+++ b/src/lib/merchant_api_track_transaction.c
@@ -64,24 +64,6 @@ struct TALER_MERCHANT_TrackTransactionHandle
   struct GNUNET_CURL_Context *ctx;
 };
 
-
-/**
- * Free data in @a transfers.
- *
- * @param num_transfers length of the @a transfers array
- * @param transfers information about wire transfers to free
- */
-static void
-free_transfers (unsigned int num_transfers,
-                struct TALER_MERCHANT_TransactionWireTransfer *transfers)
-{
-  unsigned int i;
-
-  for (i=0;i<num_transfers;i++)
-    GNUNET_free (transfers[i].coins);
-}
-
-
 /**
  * Handle #MHD_HTTP_OK response to /track/transaction.
  * Parse @a json and if successful call the callback in @a tdo.

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]