Skip to content

Commit 3f49b44

Browse files
committed
Remove unnecessary space / parentheses
1 parent 8139573 commit 3f49b44

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/backend.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ bool registry::add(std::unique_ptr<backend> ptr) {
7373

7474
void registry::setup_options(int argc, char *argv[],
7575
po::options_description &desc) {
76-
if (backends.empty() || (!(default_backend))) {
76+
if (backends.empty() || !default_backend) {
7777
throw std::runtime_error("No backends available - this is most likely a "
7878
"compile-time configuration error.");
7979
}

src/mime_types.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ type parse_from(const std::string &name) {
4141
} else if (name == "text/plain") {
4242
return mime::type::text_plain;
4343
} else if (name == "text/xml") { // alias according to RFC 7303, section 9.2
44-
return mime::type:: application_xml;
44+
return mime::type::application_xml;
4545
} else if (name == "application/xml") {
4646
return mime::type::application_xml;
4747
#if HAVE_YAJL

0 commit comments

Comments
 (0)