Ingo Molnar 664134d291 crypto: testmgr - Fix error flow of test_comp
This warning:

  crypto/testmgr.c: In function ‘test_comp’:
  crypto/testmgr.c:829: warning: ‘ret’ may be used uninitialized in this function

triggers because GCC correctly notices that in the ctcount == 0 &&
dtcount != 0 input condition case this function can return an undefined
value, if the second loop fails.

Remove the shadowed 'ret' variable from the second loop that was probably
unintended.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2008-12-25 11:02:01 +11:00
..
2008-01-11 08:16:56 +11:00
2008-08-29 15:49:57 +10:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-01-11 08:16:53 +11:00
2007-11-02 08:47:06 +01:00
2008-06-02 15:46:51 +10:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-08-29 15:50:02 +10:00
2008-01-11 08:16:56 +11:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-12-25 11:01:26 +11:00
2008-12-25 11:01:45 +11:00
2008-04-21 10:19:34 +08:00
2008-07-10 20:35:17 +08:00
2008-07-10 20:35:17 +08:00
2008-07-10 20:35:17 +08:00
2008-07-10 20:35:17 +08:00
2007-10-10 16:55:38 -07:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2008-04-21 10:19:34 +08:00
2007-07-13 08:06:14 -07:00
2008-03-06 18:56:19 +08:00