Paul J. Lucas has proposed merging lp:~paul-lucas/zorba/pjl-misc into lp:zorba.

Commit message:
Removed unncessary (and now wrong) cast.

Requested reviews:
  Paul J. Lucas (paul-lucas)

For more details, see:
https://code.launchpad.net/~paul-lucas/zorba/pjl-misc/+merge/166109

Removed unncessary (and now wrong) cast.
-- 
https://code.launchpad.net/~paul-lucas/zorba/pjl-misc/+merge/166109
Your team Zorba Coders is subscribed to branch lp:zorba.
=== modified file 'include/zorba/time.h'
--- include/zorba/time.h	2013-03-13 16:17:38 +0000
+++ include/zorba/time.h	2013-05-28 17:09:36 +0000
@@ -57,7 +57,6 @@
     VE,   ///< Vikrama Era
     VS    ///< Vikrama Samvat Era
   };
-
 } // namespace calendar
 
 ///////////////////////////////////////////////////////////////////////////////

=== modified file 'src/store/naive/atomic_items.cpp'
--- src/store/naive/atomic_items.cpp	2013-05-24 22:52:47 +0000
+++ src/store/naive/atomic_items.cpp	2013-05-28 17:09:36 +0000
@@ -150,10 +150,9 @@
   case store::XS_NON_NEGATIVE_INTEGER:
   case store::XS_POSITIVE_INTEGER:
   {
-    const IntegerItem* item = static_cast<const IntegerItem*>(item1);
     try
     {
-      longValue = item->getLongValue();
+      longValue = item1->getLongValue();
       GET_FACTORY().createLong(result, longValue);
     }
     catch (std::range_error const&)

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to