forked from qt-creator/qt-creator
		
	Kill ";;" at end of statement
Change-Id: I177094f19978e07f85e42b34701d8f03cd26665e Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
		@@ -368,7 +368,7 @@ QString cppExpressionAt(TextEditor::ITextEditor *editor, int pos,
 | 
			
		||||
// free debugger expression.
 | 
			
		||||
QString fixCppExpression(const QString &expIn)
 | 
			
		||||
{
 | 
			
		||||
    QString exp = expIn.trimmed();;
 | 
			
		||||
    QString exp = expIn.trimmed();
 | 
			
		||||
    // Extract the first identifier, everything else is considered
 | 
			
		||||
    // too dangerous.
 | 
			
		||||
    int pos1 = 0, pos2 = exp.size();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user