summaryrefslogtreecommitdiff
path: root/src/PSEditor.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <johannes.hofmann@gmx.de>2004-10-12 15:14:16 +0000
committerJohannes Hofmann <johannes.hofmann@gmx.de>2004-10-12 15:14:16 +0000
commit570f2cbe4b10f587591273226a64b79d6d0f48e7 (patch)
treebb6c2e327bdd517eb1e9c3adec1e34c5a962071f /src/PSEditor.cxx
parentdbac923494a608d03f9381687b2ee2a3056b6696 (diff)
fix some warnings
fix some warnings
Diffstat (limited to 'src/PSEditor.cxx')
-rw-r--r--src/PSEditor.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/PSEditor.cxx b/src/PSEditor.cxx
index 963c9fb..fa8ad34 100644
--- a/src/PSEditor.cxx
+++ b/src/PSEditor.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: PSEditor.cxx,v 1.9 2004/10/11 14:44:47 hofmann Exp $"
+// "$Id: PSEditor.cxx,v 1.10 2004/10/12 17:14:16 hofmann Exp $"
//
// PSEditor routines.
//
@@ -115,7 +115,7 @@ int PSEditor::load(char *f) {
FILE *fp;
char tmpname[256];
char linebuf[1024];
- int size, ret, ret1, ret2;
+ int ret;
PSParser *p1 = new PSParser_1(this);
PSParser *p2 = new PSParser_2(this);
@@ -210,6 +210,7 @@ int PSEditor::import(char *f) {
delete(p2);
mod = 1;
+ return 0;
}
int PSEditor::get_ps_level() {