Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorIan Thompson <quornian@googlemail.com>2008-09-27 23:57:32 +0400
committerIan Thompson <quornian@googlemail.com>2008-09-27 23:57:32 +0400
commit5f7359a4ad712e91a012fe7331f2df33b7031375 (patch)
tree74d7b11e8cc87ce54cccaa64ff93c2ed13a62549 /source
parentd988ff33db6ea66094a197fed27b6f15741d7389 (diff)
Cleaned up unused variables and functions.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/text.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source/blender/blenkernel/intern/text.c b/source/blender/blenkernel/intern/text.c
index ff9a6298bf4..9e6efa59d71 100644
--- a/source/blender/blenkernel/intern/text.c
+++ b/source/blender/blenkernel/intern/text.c
@@ -2244,7 +2244,6 @@ void txt_delete_char (Text *text)
if ((mrk->flags & TMARK_TEMP) && !(mrk->flags & TMARK_EDITALL)) {
txt_clear_markers(text, mrk->group, TMARK_TEMP);
} else {
- //TextMarker *nxt= mrk->next;
BLI_freelinkN(&text->markers, mrk);
}
return;
@@ -2309,7 +2308,6 @@ void txt_backspace_char (Text *text)
if ((mrk->flags & TMARK_TEMP) && !(mrk->flags & TMARK_EDITALL)) {
txt_clear_markers(text, mrk->group, TMARK_TEMP);
} else {
- //TextMarker *nxt= mrk->next;
BLI_freelinkN(&text->markers, mrk);
}
return;
@@ -2682,13 +2680,6 @@ int setcurr_tab (Text *text)
/* Text marker utility functions */
/*********************************/
-static int color_match(TextMarker *a, TextMarker *b) {
- return (a->color[0]==b->color[0] &&
- a->color[1]==b->color[1] &&
- a->color[2]==b->color[2] &&
- a->color[3]==b->color[3]);
-}
-
/* Creates and adds a marker to the list maintaining sorted order */
void txt_add_marker(Text *text, TextLine *line, int start, int end, char color[4], int group, int flags) {
TextMarker *tmp, *marker;