summaryrefslogtreecommitdiff
path: root/src/lib/eolian_cxx
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-09-16 14:19:43 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-09-16 14:19:43 -0400
commit9dc7643f93c126f399c87dd9de4afd4395b01679 (patch)
tree01a8257cc8d37c1b062c49cb200ec3abc1319fa9 /src/lib/eolian_cxx
parentbdb8505f3b7318b024530d1f9559c91978a3b421 (diff)
Revert "cxx: Fix some warnings from -Wextra"
This reverts commit bdb8505f3b7318b024530d1f9559c91978a3b421. more review pending on this
Diffstat (limited to 'src/lib/eolian_cxx')
-rw-r--r--src/lib/eolian_cxx/grammar/html_escaped_string.hpp3
-rw-r--r--src/lib/eolian_cxx/grammar/klass_def.hpp2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/eolian_cxx/grammar/html_escaped_string.hpp b/src/lib/eolian_cxx/grammar/html_escaped_string.hpp
index 5bbad79c0f..371afcda24 100644
--- a/src/lib/eolian_cxx/grammar/html_escaped_string.hpp
+++ b/src/lib/eolian_cxx/grammar/html_escaped_string.hpp
@@ -26,8 +26,7 @@ struct html_escaped_string_generator
26 case '\'': out.append("&apos;"); break; 26 case '\'': out.append("&apos;"); break;
27 case '<': out.append("&lt;"); break; 27 case '<': out.append("&lt;"); break;
28 case '>': out.append("&gt;"); break; 28 case '>': out.append("&gt;"); break;
29 case '\\': if (pos < input.size() - 1) pos++; 29 case '\\': if (pos < input.size() - 1) pos++; // Deliberate fallthrough
30 // fall through
31 default: out.append(&input[pos], 1); break; 30 default: out.append(&input[pos], 1); break;
32 } 31 }
33 } 32 }
diff --git a/src/lib/eolian_cxx/grammar/klass_def.hpp b/src/lib/eolian_cxx/grammar/klass_def.hpp
index 609df6ecea..a3f3f3d7df 100644
--- a/src/lib/eolian_cxx/grammar/klass_def.hpp
+++ b/src/lib/eolian_cxx/grammar/klass_def.hpp
@@ -492,7 +492,7 @@ inline void type_def::set(Eolian_Type const* eolian_type, Eolian_Unit const* uni
492 complex.subtypes.push_back({stp 492 complex.subtypes.push_back({stp
493 , unit 493 , unit
494 , ::eolian_type_c_type_get(stp) 494 , ::eolian_type_c_type_get(stp)
495 , (bool)eolian_type_is_move(stp) 495 , eolian_type_is_move(stp)
496 , is_by::value}); 496 , is_by::value});
497 stp = eolian_type_next_type_get(stp); 497 stp = eolian_type_next_type_get(stp);
498 } 498 }