projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove more unused variables.
[u/mdw/putty]
/
mac
/
macstore.c
diff --git
a/mac/macstore.c
b/mac/macstore.c
index
1c317eb
..
858846a
100644
(file)
--- a/
mac/macstore.c
+++ b/
mac/macstore.c
@@
-1,4
+1,4
@@
-/* $Id: macstore.c,v 1.
2 2002/12/12 23:55:5
1 ben Exp $ */
+/* $Id: macstore.c,v 1.
4 2002/12/28 22:25:3
1 ben Exp $ */
/*
* macstore.c: Macintosh-specific impementation of the interface
/*
* macstore.c: Macintosh-specific impementation of the interface
@@
-87,7
+87,6
@@
struct write_settings {
void *open_settings_w(char *sessionname) {
short sessVRefNum, tmpVRefNum;
long sessDirID, tmpDirID;
void *open_settings_w(char *sessionname) {
short sessVRefNum, tmpVRefNum;
long sessDirID, tmpDirID;
- FSSpec sessfile;
OSErr error;
Str255 psessionname;
struct write_settings *ws;
OSErr error;
Str255 psessionname;
struct write_settings *ws;
@@
-132,7
+131,6
@@
void write_setting_s(void *handle, char *key, char *value) {
int fd = *(int *)handle;
Handle h;
int id;
int fd = *(int *)handle;
Handle h;
int id;
- OSErr error;
UseResFile(fd);
if (ResError() != noErr)
UseResFile(fd);
if (ResError() != noErr)
@@
-247,7
+245,6
@@
char *read_setting_s(void *handle, char *key, char *buffer, int buflen) {
int read_setting_i(void *handle, char *key, int defvalue) {
int fd;
Handle h;
int read_setting_i(void *handle, char *key, int defvalue) {
int fd;
Handle h;
- OSErr error;
int value;
if (handle == NULL) goto out;
int value;
if (handle == NULL) goto out;