From 74a9ec6de4e4180a1279633de6a4611e57ef2995 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 20 Aug 2012 19:20:46 +0100 Subject: [PATCH] Remove unused code. --- amiga/search.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/amiga/search.c b/amiga/search.c index 599a6d96e..6f8ebd414 100755 --- a/amiga/search.c +++ b/amiga/search.c @@ -30,8 +30,6 @@ #include "desktop/gui.h" #include "desktop/search.h" #include "desktop/selection.h" -#include "render/box.h" -#include "render/html.h" #include "utils/log.h" #include "utils/messages.h" #include "utils/utils.h" @@ -59,19 +57,6 @@ #define NOF_ELEMENTS(array) (sizeof(array)/sizeof(*(array))) #endif -struct list_entry { - unsigned start_idx; /* start position of match */ - unsigned end_idx; /* end of match */ - - struct box *start_box; /* used only for html contents */ - struct box *end_box; - - struct selection *sel; - - struct list_entry *prev; - struct list_entry *next; -}; - static bool search_insert; static struct find_window *fwin = NULL;