FreeBSD Bugzilla – Attachment 227798 Details for
Bug 258397
biology/jellyfish: fix unused variable warning with clang 13
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix unused mode variable
biology__jellyfish-fix-unused-mode-1.diff (text/plain), 900 bytes, created by
Dimitry Andric
on 2021-09-09 21:58:12 UTC
(
hide
)
Description:
Fix unused mode variable
Filename:
MIME Type:
Creator:
Dimitry Andric
Created:
2021-09-09 21:58:12 UTC
Size:
900 bytes
patch
obsolete
>commit 423ce545ec4cbf8a539037305c4d1c68eed0090a >Author: Dimitry Andric <dim@FreeBSD.org> >Date: Thu Sep 9 23:43:58 2021 +0200 > > biology/jellyfish: fix unused variable warning > >diff --git a/biology/jellyfish/files/patch-include_jellyfish_dumper.hpp b/biology/jellyfish/files/patch-include_jellyfish_dumper.hpp >new file mode 100644 >index 000000000000..e1dee683b9f9 >--- /dev/null >+++ b/biology/jellyfish/files/patch-include_jellyfish_dumper.hpp >@@ -0,0 +1,11 @@ >+--- include/jellyfish/dumper.hpp.orig 2019-08-23 17:46:21 UTC >++++ include/jellyfish/dumper.hpp >+@@ -54,7 +54,7 @@ class dumper_t { (protected) >+ } >+ file_names_.push_back(name.str()); >+ >+- out.open(name.str().c_str()); >++ out.open(name.str().c_str(), mode); >+ if(out.fail()) >+ throw ErrorWriting(err::msg() << "'" << name.str() << "': " >+ << "Can't open file for writing" << err::no);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 258397
: 227798