- example_app: don't set above flag (it's set by default now)

svn path=/trunk/boinc_samples/; revision=13677
This commit is contained in:
David Anderson 2007-09-26 19:46:16 +00:00
parent 1aeb59ddac
commit 9802607644
2 changed files with 7 additions and 6 deletions

View File

@ -475,3 +475,9 @@ Charlie 25 Sep 2007
example_app/
uc2.C
uc2_graphics.C
David 26 Sept 2007
- example_app: don't set above flag (it's set by default now)
example_app/
uc2.C

View File

@ -121,7 +121,6 @@ int main(int argc, char **argv) {
char input_path[512], output_path[512], chkpt_path[512];
MFILE out;
FILE* state, *infile;
BOINC_OPTIONS options;
for (i=0; i<argc; i++) {
if (!strcmp(argv[i], "-early_exit")) early_exit = true;
@ -133,11 +132,7 @@ int main(int argc, char **argv) {
}
}
memset(&options, 0, sizeof(options));
boinc_options_defaults(options);
options.backwards_compatible_graphics = true;
retval = boinc_init_options(&options);
retval = boinc_init();
if (retval) exit(retval);
// open the input file (resolve logical name first)