summaryrefslogtreecommitdiff
path: root/recordmydesktop/src
diff options
context:
space:
mode:
authorenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-09-12 21:04:36 +0000
committerenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-09-12 21:04:36 +0000
commit77ee36547a3ed0e7fad1e176f4a6a9c6fe227861 (patch)
tree7c0517e7a5a272375d4edee926c13841a6bb89ec /recordmydesktop/src
parent6e47cbb9d80dc94751127502bb0786bfcfcc35db (diff)
include/recordmydesktop.h: Make the global exit_status variable
src/recordmydesktop.c: local here. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@511 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/src')
-rw-r--r--recordmydesktop/src/recordmydesktop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/recordmydesktop/src/recordmydesktop.c b/recordmydesktop/src/recordmydesktop.c
index 859477a..49f9d1b 100644
--- a/recordmydesktop/src/recordmydesktop.c
+++ b/recordmydesktop/src/recordmydesktop.c
@@ -30,8 +30,7 @@
int main(int argc,char **argv){
ProgData pdata;
-
- exit_status=0;
+ int exit_status = 0;
DEFAULT_ARGS(&pdata.args);
if(ParseArgs(argc,argv,&pdata.args)){
@@ -177,6 +176,7 @@ int main(int argc,char **argv){
CleanUp();
}
}
+
return exit_status;
}
© All Rights Reserved