[hipl-commit] [trunk] Rev 4636: lib: core: mark unused hastree parameters as such.

  • From: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Sun, 30 May 2010 22:48:35 +0300

Committer: Mircea Gherzan <mircea.gherzan@xxxxxxxxxxxxxx>
Date: 30/05/2010 at 22:48:35
Revision: 4636
Revision-id: mircea.gherzan@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  lib: core: mark unused hastree parameters as such.

Modified:
  M  lib/core/hashtree.c

=== modified file 'lib/core/hashtree.c'
--- lib/core/hashtree.c 2010-05-30 19:44:21 +0000
+++ lib/core/hashtree.c 2010-05-30 19:48:01 +0000
@@ -16,6 +16,7 @@
 #include <openssl/rand.h>
 #include <math.h>
 
+#include "common_defines.h"
 #include "hashtree.h"
 #include "ife.h"
 #include "debug.h"
@@ -663,7 +664,7 @@
                          const unsigned char *secret,
                          const int secret_length,
                          unsigned char *dst_buffer,
-                         const htree_gen_args_t *gen_args)
+                         UNUSED const htree_gen_args_t *gen_args)
 {
     int err                        = 0;
     unsigned char buffer[data_length + secret_length];
@@ -701,10 +702,10 @@
  *       subsequent memory blocks
  */
 int htree_node_generator(const unsigned char *left_node,
-                         const unsigned char *right_node,
+                         UNUSED const unsigned char *right_node,
                          const int node_length,
                          unsigned char *dst_buffer,
-                         const htree_gen_args_t *gen_args)
+                         UNUSED const htree_gen_args_t *gen_args)
 {
     int err = 0;

Other related posts:

  • » [hipl-commit] [trunk] Rev 4636: lib: core: mark unused hastree parameters as such. - Mircea Gherzan