gnunet-svn
[Top][All Lists]
Advanced

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

[taler-anastasis] 01/03: deleted helper


From: gnunet
Subject: [taler-anastasis] 01/03: deleted helper
Date: Fri, 28 Aug 2020 18:26:07 +0200

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

dennis-neufeld pushed a commit to branch master
in repository anastasis.

commit f2e83883be2343ed9cad296f4402eb3865005b67
Author: Dennis Neufeld <dennis.neufeld@students.bfh.ch>
AuthorDate: Tue Aug 25 16:09:55 2020 +0200

    deleted helper
---
 src/cli/anastasis-cli-splitter.c | 13 ++-----------
 1 file changed, 2 insertions(+), 11 deletions(-)

diff --git a/src/cli/anastasis-cli-splitter.c b/src/cli/anastasis-cli-splitter.c
index 89ace88..1e05514 100644
--- a/src/cli/anastasis-cli-splitter.c
+++ b/src/cli/anastasis-cli-splitter.c
@@ -1022,7 +1022,6 @@ read_keyboard_command (void *cls)
           {
             for (unsigned int i = 0; i < pc_states_length; i++)
             {
-              printf ("%i:", i);
               for (unsigned int j = 0; j < tu_states_length; j++)
               {
                 bool match = false;
@@ -1034,10 +1033,8 @@ read_keyboard_command (void *cls)
                     break;
                   }
                 }
-                tu_mem[i][j] = match;
-                printf (" %d ", match);
+                tu_mem[i][j] = match;                
               }
-              printf ("\n");
             }
           }
           tus->tuo = ANASTASIS_truth_upload (ctx,
@@ -1059,10 +1056,8 @@ read_keyboard_command (void *cls)
           // fix policies after appending tu_state
           if (pc_states_length > 0)
           {
-            printf ("\n");
             for (unsigned int i = 0; i < pc_states_length; i++)
             {
-              printf ("%i:", i);
               unsigned int k = 0;
               for (unsigned int j = 0; j < tu_states_length - 1; j++)
               {
@@ -1070,13 +1065,9 @@ read_keyboard_command (void *cls)
                 {
                   pc_states[i].tu_states[k] = &tu_states[j];
                   k++;
-                  printf (" 1 ");
-                }
-                else
-                  printf (" 0 ");
+                }                
               }
               pc_states[i].tu_states_len = k;
-              printf ("\n");
             }
           }
           if (NULL == tus->tuo)

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

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