From 676786a3991559694e781930ee2ff0f7a8ec748f Mon Sep 17 00:00:00 2001 From: Cary R Date: Wed, 20 Nov 2013 11:28:51 -0800 Subject: [PATCH] Remove compile warning --- PFunction.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PFunction.cc b/PFunction.cc index 275a0e69b..e15fab119 100644 --- a/PFunction.cc +++ b/PFunction.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999-2008,2010 Stephen Williams (steve@icarus.com) + * Copyright (c) 1999-2013 Stephen Williams (steve@icarus.com) * * This source code is free software; you can redistribute it * and/or modify it in source code form under the terms of the GNU @@ -74,7 +74,7 @@ PChainConstructor* PFunction::extract_chain_constructor() { PChainConstructor*res = 0; - if (res = dynamic_cast (statement_)) { + if ((res = dynamic_cast (statement_))) { statement_ = 0; } else if (PBlock*blk = dynamic_cast(statement_)) {