Skip to content
Snippets Groups Projects
Commit c7c4a587 authored by Julien Malik's avatar Julien Malik
Browse files

OSSIM: fix clearly intended comparison instead of affectation

parent 62fd3599
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ ossimDtedRecord::ossimDtedRecord(std::istream& in,
printf("\nBuf: %02X", (int)buf[0]); // Display in HEX
#endif
if(!(buf[0] = DATA_RECOGNITION_SENTINEL))
if(buf[0] != DATA_RECOGNITION_SENTINEL)
{
theErrorStatus = ossimErrorCodes::OSSIM_ERROR;
ossimNotify(ossimNotifyLevel_FATAL) << "FATAL ossimDtedRecord::ossimDtedRecord: reading DTED's data record at: " << theStartOffset
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment