[Marble-commits] KDE/kdeedu/marble/src/lib/runners
Jens-Michael Hoffmann
jensmh at gmx.de
Sat Jan 23 14:59:32 CET 2010
SVN commit 1079052 by jmhoffmann:
Remove redundant null pointer check.
M +1 -3 OnfRunner.cpp
--- trunk/KDE/kdeedu/marble/src/lib/runners/OnfRunner.cpp #1079051:1079052
@@ -83,9 +83,7 @@
}
*/
//make a new buffer
- if( m_buffer ) {
- delete m_buffer;
- }
+ delete m_buffer;
m_buffer = new QBuffer;
mDebug() << "ONF search: GET /namefinder/search.xml?find=" << m_input;
m_http->get( "/namefinder/search.xml?find=" + m_input, m_buffer );
More information about the Marble-commits
mailing list