diff options
author | Richard Jones <rjones@redhat.com> | 2009-11-03 16:44:47 +0000 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-11-03 16:44:47 +0000 |
commit | aad55a71f6aa3f7195c4b4b022773c5ae1c01728 (patch) | |
tree | dd08f18dcf4781c20029150ec434a7c897c50883 | |
parent | 589ce7e1c85bef6526c1d0de81bca2befbdfcc30 (diff) | |
download | libguestfs-aad55a71f6aa3f7195c4b4b022773c5ae1c01728.tar.gz libguestfs-aad55a71f6aa3f7195c4b4b022773c5ae1c01728.tar.xz libguestfs-aad55a71f6aa3f7195c4b4b022773c5ae1c01728.zip |
Comment out code which provokes strange gcc optimization error.
-rw-r--r-- | fuse/guestmount.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fuse/guestmount.c b/fuse/guestmount.c index ec3cc773..3ae614ca 100644 --- a/fuse/guestmount.c +++ b/fuse/guestmount.c @@ -1110,6 +1110,10 @@ main (int argc, char *argv[]) /* Finish off FUSE args. */ ADD_FUSE_ARG (argv[optind]); + /* + It says about the line containing the for-statement: + error: assuming signed overflow does not occur when simplifying conditional to constant [-Wstrict-overflow] + if (verbose) { fprintf (stderr, "guestmount: invoking FUSE with args ["); for (i = 0; i < fuse_argc; ++i) { @@ -1118,6 +1122,7 @@ main (int argc, char *argv[]) } fprintf (stderr, "]\n"); } + */ r = fuse_main (fuse_argc, (char **) fuse_argv, &fg_operations, NULL); |