Commit 442ec421 authored by Daniel Elstner's avatar Daniel Elstner
Browse files

:find_matches): Get rid of an unused main_context variable plus

* src/filebuffer.cc (FileBuffer::find_matches): Get rid of an
unused main_context variable plus initialization code.  Whoa,
this ancient piece of code must have been lurking here for at
least a year without being used.  Unfortunately g++ didn't warn
about it since the ctor/dtor might have had side effects...
parent 6ab68392
2004-05-30 Daniel Elstner <daniel.elstner@gmx.net>
* src/filebuffer.cc (FileBuffer::find_matches): Get rid of an
unused main_context variable plus initialization code. Whoa,
this ancient piece of code must have been lurking here for at
least a year without being used. Unfortunately g++ didn't warn
about it since the ctor/dtor might have had side effects...
2004-05-30 Daniel Elstner <daniel.elstner@gmx.net>
* autogen.sh: In the regex used to extract version numbers, avoid
......
/* $Id$
*
* Copyright (c) 2002 Daniel Elstner <daniel.elstner@gmx.net>
* Copyright (c) 2004 Daniel Elstner <daniel.elstner@gmx.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License VERSION 2 as
......@@ -264,7 +264,6 @@ int FileBuffer::find_matches(Pcre::Pattern& pattern, bool multiple)
{
ScopedLock lock (*this);
const Glib::RefPtr<Glib::MainContext> main_context = Glib::MainContext::get_default();
const Glib::RefPtr<RegexxerTags> tagtable = RegexxerTags::instance();
notify_weak_undos();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment