Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 657a7388 authored by George Burgess IV's avatar George Burgess IV Committed by George Burgess
Browse files

packet: remove useless variable

This is needed to enable -Wunused-but-set-variable by default on
ChromeOS.

Bug: 296450693
Test: mma -j

Change-Id: I7827700924fe7dd924977d2f363e9495dd6edb89
parent e99a17ac
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -592,9 +592,7 @@ void PacketDef::GenBuilderCreatePybind11(std::ostream& s) const {
  s << ".def(py::init([](";
  auto params = GetParamList();
  std::vector<std::string> constructor_args;
  int i = 1;
  for (const auto& param : params) {
    i++;
    std::stringstream ss;
    auto param_type = param->GetBuilderParameterType();
    if (param_type.empty()) {