From c5bb0fffc5f2e8ad9a0f0f99524236275045b86d Mon Sep 17 00:00:00 2001
From: Martin Stjernholm <mast@lysator.liu.se>
Date: Sat, 28 Nov 2009 14:14:00 +0100
Subject: [PATCH] Fixed a warning.

Rev: src/array.c:1.225
---
 src/array.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/array.c b/src/array.c
index eebf365ec2..c2442c2e24 100644
--- a/src/array.c
+++ b/src/array.c
@@ -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: array.c,v 1.224 2009/11/28 13:13:30 mast Exp $
+|| $Id: array.c,v 1.225 2009/11/28 13:14:00 mast Exp $
 */
 
 #include "global.h"
@@ -2391,7 +2391,7 @@ PMOD_EXPORT struct pike_string *implode(struct array *a,
   ret=begin_wide_shared_string(len,max_shift);
   r=MKPCHARP_STR(ret);
   len = del->len;
-  if(e = a->size)
+  if((e = a->size))
     for(ae=a->item;;ae++)
     {
       switch(ae->type)
-- 
GitLab