From f883570ed8e79a6b960871b4ef01aa6e64600a89 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 28 Dec 2002 22:44:27 +0000 Subject: [PATCH] It would be better if I deleted the unused variable from the correct function. [originally from svn r2373] --- mac/macstore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mac/macstore.c b/mac/macstore.c index 858846ad..ecd0355b 100644 --- a/mac/macstore.c +++ b/mac/macstore.c @@ -1,4 +1,4 @@ -/* $Id: macstore.c,v 1.4 2002/12/28 22:25:31 ben Exp $ */ +/* $Id: macstore.c,v 1.5 2002/12/28 22:44:27 ben Exp $ */ /* * macstore.c: Macintosh-specific impementation of the interface @@ -131,6 +131,7 @@ void write_setting_s(void *handle, char *key, char *value) { int fd = *(int *)handle; Handle h; int id; + OSErr error; UseResFile(fd); if (ResError() != noErr) @@ -219,7 +220,6 @@ void *open_settings_r(char *sessionname) { char *read_setting_s(void *handle, char *key, char *buffer, int buflen) { int fd; Handle h; - OSErr error; size_t len; if (handle == NULL) goto out;