diff options
author | dos-reis <gdr@axiomatics.org> | 2008-03-17 14:50:57 +0000 |
---|---|---|
committer | dos-reis <gdr@axiomatics.org> | 2008-03-17 14:50:57 +0000 |
commit | 913cf8558e7573b525aa918753df1ca524e5746a (patch) | |
tree | 302776695e75f34c9addfdcde9c584dfcb36dfa8 /src | |
parent | 0f8d3e4c660cc6177e57b21579ac40733b82b940 (diff) | |
download | open-axiom-913cf8558e7573b525aa918753df1ca524e5746a.tar.gz |
Add missing `return'.
Diffstat (limited to 'src')
-rw-r--r-- | src/ChangeLog | 4 | ||||
-rw-r--r-- | src/lib/cfuns-c.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 1a276841..f387ddfc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,9 @@ 2008-03-17 Gabriel Dos Reis <gdr@cs.tamu.edu> + * lib/cfuns-c.c (oa_chdir): Add missing `return'. + +2008-03-17 Gabriel Dos Reis <gdr@cs.tamu.edu> + * lib/cfuns-c.c (oa_chdir): Define. (is_dot_or_dotdot): New. (oa_unlink): Define. diff --git a/src/lib/cfuns-c.c b/src/lib/cfuns-c.c index 95c9787f..764c5d6c 100644 --- a/src/lib/cfuns-c.c +++ b/src/lib/cfuns-c.c @@ -310,7 +310,7 @@ OPENAXIOM_EXPORT int oa_chdir(const char* path) { #ifdef __MINGW32__ - SetCurrentDirectory(path) ? 0 : -1; + return SetCurrentDirectory(path) ? 0 : -1; #else return chdir(path); #endif /* __MINGW32__ */ |