1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-25 01:02:24 +00:00

It would be better if I deleted the unused variable from the correct function.

[originally from svn r2373]
This commit is contained in:
Ben Harris 2002-12-28 22:44:27 +00:00
parent 454e6d2a43
commit f883570ed8

View File

@ -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;