From 7f7f79048c287dd6732e19e7fbf07c60a5d53360 Mon Sep 17 00:00:00 2001 From: Martin Stjernholm <mast@lysator.liu.se> Date: Tue, 12 Aug 2008 17:19:31 +0200 Subject: [PATCH] Fixed a warning. Rev: src/post_modules/Shuffler/Shuffler.cmod:1.50 --- src/post_modules/Shuffler/Shuffler.cmod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/post_modules/Shuffler/Shuffler.cmod b/src/post_modules/Shuffler/Shuffler.cmod index a725f8cd01..59da866e8f 100644 --- a/src/post_modules/Shuffler/Shuffler.cmod +++ b/src/post_modules/Shuffler/Shuffler.cmod @@ -2,7 +2,7 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: Shuffler.cmod,v 1.49 2008/08/07 12:47:22 srb Exp $ +|| $Id: Shuffler.cmod,v 1.50 2008/08/12 15:19:31 mast Exp $ */ #include "global.h" @@ -170,7 +170,7 @@ PIKECLASS Shuffle SHUFFLE_DEBUG2("set_throttler(%p)\n", THIS, t ); if( THIS->throttler ) free_object( THIS->throttler ); - if( THIS->throttler = t ) { + if( (THIS->throttler = t) ) { debug_malloc_touch(THIS->throttler); Pike_sp--; } -- GitLab