From 803efcdfac42854ceb72d0cdf1b149071a452e16 Mon Sep 17 00:00:00 2001 From: ben 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. git-svn-id: svn://svn.tartarus.org/sgt/putty@2373 cda61777-01e9-0310-a592-d414129be87e --- 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; -- 2.11.0