[hipl-commit] [trunk] Rev 4635: lib: core: remove redundant assert.

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

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

Log:
  lib: core: remove redundant assert.

Modified:
  M  lib/core/hashtree.c

=== modified file 'lib/core/hashtree.c'
--- lib/core/hashtree.c 2010-05-22 12:37:40 +0000
+++ lib/core/hashtree.c 2010-05-30 19:44:21 +0000
@@ -588,7 +588,6 @@
     HIP_ASSERT(branch_length > 0);
     HIP_ASSERT(verify_data != NULL);
     HIP_ASSERT(data_length > 0);
-    HIP_ASSERT(data_index >= 0);
 
     if (secret_length > 0) {
         HIP_ASSERT(secret != NULL);

Other related posts:

  • » [hipl-commit] [trunk] Rev 4635: lib: core: remove redundant assert. - Mircea Gherzan