mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-21 22:28:37 -05:00
It would be better if I deleted the unused variable from the correct function.
[originally from svn r2373]
This commit is contained in:
parent
454e6d2a43
commit
f883570ed8
@ -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
|
* 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;
|
int fd = *(int *)handle;
|
||||||
Handle h;
|
Handle h;
|
||||||
int id;
|
int id;
|
||||||
|
OSErr error;
|
||||||
|
|
||||||
UseResFile(fd);
|
UseResFile(fd);
|
||||||
if (ResError() != noErr)
|
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) {
|
char *read_setting_s(void *handle, char *key, char *buffer, int buflen) {
|
||||||
int fd;
|
int fd;
|
||||||
Handle h;
|
Handle h;
|
||||||
OSErr error;
|
|
||||||
size_t len;
|
size_t len;
|
||||||
|
|
||||||
if (handle == NULL) goto out;
|
if (handle == NULL) goto out;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user