[kmobiletools] KDE/kdepim/kmobiletools/kmobiletools/libkmobiletools

Dirk Mueller mueller at kde.org
Thu Jun 21 00:52:59 CEST 2007


SVN commit 678237 by mueller:

d cant't be NULL here (CID 3669)


 M  +1 -1      qserial.cpp  


--- trunk/KDE/kdepim/kmobiletools/kmobiletools/libkmobiletools/qserial.cpp #678236:678237
@@ -371,7 +371,7 @@
         char c_retry=0;
 
         do {
-            if(d && d->i_modem!=-1) c_retval=::write(d->i_modem,temp, towrite); else return -1;
+            if(d->i_modem!=-1) c_retval=::write(d->i_modem,temp, towrite); else return -1;
             flush();
             if (c_retval==-1)
             {


More information about the kmobiletools mailing list