From 3f18c2f15178b3defe95a18acd5627f137198151 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 24 Aug 2010 23:28:46 +0000 Subject: [PATCH] Code cleanup --- src/parser.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/parser.c b/src/parser.c index c5f6854..57028d2 100644 --- a/src/parser.c +++ b/src/parser.c @@ -1,5 +1,5 @@ /* $Id$ */ -/* Copyright (c) 2009 Pierre Pronchery */ +/* Copyright (c) 2010 Pierre Pronchery */ /* This file is part of DeforaOS Devel cpp */ /* cpp is not free software; you can redistribute it and/or modify it under the * terms of the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 @@ -435,7 +435,6 @@ static int _cpp_callback_whitespace(Parser * parser, Token * token, int c, static int _cpp_callback_newline(Parser * parser, Token * token, int c, void * data) { - int ret = 0; CppParser * cpp = data; if(c != '\n') @@ -446,7 +445,7 @@ static int _cpp_callback_newline(Parser * parser, Token * token, int c, parser_scan_filter(parser); token_set_code(token, CPP_CODE_NEWLINE); token_set_string(token, "\n"); - return ret; + return 0; }