diff options
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2014-01-08 21:33:38 +0100 |
---|---|---|
committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2014-01-08 21:33:38 +0100 |
commit | 0fa27ea9841ce82b8e24fa0ea2975be2ca1137a4 (patch) | |
tree | 07d2597fc994aaa995a9a9c397ce71579140800c /src | |
parent | a84e27b04d83750b12a9efc83a26ba64d653c896 (diff) |
remove unused variables
Diffstat (limited to 'src')
-rw-r--r-- | src/GsWidget.cxx | 3 | ||||
-rw-r--r-- | src/PSEditWidget.cxx | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/GsWidget.cxx b/src/GsWidget.cxx index dbf7340..f6c58e3 100644 --- a/src/GsWidget.cxx +++ b/src/GsWidget.cxx @@ -256,13 +256,12 @@ GsWidget::load_page(int p) { } int GsWidget::fd_copy(int to, int from, size_t len) { - size_t n, r; + size_t r; char buf[1024]; int ret = 0; signal(SIGPIPE, SIG_IGN); // don't die if gs has a problem - n = 0; while(len > 0) { Fl::check(); // let fltk do its stuff diff --git a/src/PSEditWidget.cxx b/src/PSEditWidget.cxx index 31230f2..df956f1 100644 --- a/src/PSEditWidget.cxx +++ b/src/PSEditWidget.cxx @@ -277,11 +277,9 @@ int PSEditWidget::get_size() { void PSEditWidget::set_color(const PSEditColor *c) { PSEditText *t; - uchar *p; t = model->get_cur_text(); - p = (uchar*) &c; cur_text_color.set(c); model->set_color(&cur_text_color); |