[Spice-devel] [PATCH spice-common 5/5] quic: turn back some commented out checks as compile time
Frediano Ziglio
fziglio at redhat.com
Fri Aug 4 07:57:02 UTC 2017
Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
---
common/quic.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/quic.c b/common/quic.c
index 7c069e4..1be28c6 100644
--- a/common/quic.c
+++ b/common/quic.c
@@ -223,8 +223,8 @@ static const unsigned int tabrand_chaos[TABRAND_TABSIZE] = {
static unsigned int stabrand(void)
{
- //spice_assert( !(TABRAND_SEEDMASK & TABRAND_TABSIZE));
- //spice_assert( TABRAND_SEEDMASK + 1 == TABRAND_TABSIZE );
+ SPICE_VERIFY( !(TABRAND_SEEDMASK & TABRAND_TABSIZE));
+ SPICE_VERIFY( TABRAND_SEEDMASK + 1 == TABRAND_TABSIZE );
return TABRAND_SEEDMASK;
}
--
2.13.3
More information about the Spice-devel
mailing list