activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r495448 - /incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io/DataInputStreamTest.h
Date Fri, 12 Jan 2007 00:01:42 GMT
Author: tabish
Date: Thu Jan 11 16:01:41 2007
New Revision: 495448

URL: http://svn.apache.org/viewvc?view=rev&rev=495448
Log:
https://issues.apache.org/activemq/browse/AMQCPP-25

Modified:
    incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io/DataInputStreamTest.h

Modified: incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io/DataInputStreamTest.h
URL: http://svn.apache.org/viewvc/incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io/DataInputStreamTest.h?view=diff&rev=495448&r1=495447&r2=495448
==============================================================================
--- incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io/DataInputStreamTest.h
(original)
+++ incubator/activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/io/DataInputStreamTest.h
Thu Jan 11 16:01:41 2007
@@ -82,8 +82,6 @@
 
             size = sizeof(float);
             float tempFloat = util::Endian::byteSwap(floatVal);
-            unsigned int x1 = *((unsigned int*)&floatVal );
-            unsigned int x2 = *((unsigned int*)&tempFloat );
             memcpy( (char*)(buffer+ix), (char*)&tempFloat, size );
             ix += size;
 



Mime
View raw message