1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-10 03:53:21 +02:00

[cleanup] Fix compiler warnings

This commit is contained in:
Martin Oberhuber 2006-08-25 15:51:46 +00:00
parent 19c4a999c3
commit 281b959873
2 changed files with 2 additions and 0 deletions

View file

@ -158,6 +158,7 @@ public class LocalShellOutputReader extends AbstractHostShellOutputReader implem
if(theDebugLine!=null) theDebugLine.append((char)ch);
int len = theLine.length()-1;
if (len>=0) theLine.deleteCharAt(len);
break;
case 13:
if(theDebugLine!=null) theDebugLine.append((char)ch);
break; // Carriage Return: dont append to the buffer

View file

@ -74,6 +74,7 @@ public class SshShellOutputReader extends AbstractHostShellOutputReader
if(theDebugLine!=null) theDebugLine.append((char)ch);
int len = theLine.length()-1;
if (len>=0) theLine.deleteCharAt(len);
break;
case 13:
if(theDebugLine!=null) theDebugLine.append((char)ch);
break; // Carriage Return: dont append to the buffer