Home
last modified time | relevance | path

Searched hist:ed4a5a64e41652aa2321d5647ced1ff19e3c5cd0 (Results 1 – 4 of 4) sorted by relevance

/openbmc/sdbusplus/include/sdbusplus/server/
H A Dtransaction.hppdiff ed4a5a64e41652aa2321d5647ced1ff19e3c5cd0 Thu Jan 05 11:38:50 CST 2023 Ed Tanous <edtanous@google.com> Fix variable shadow warnings in sdbusplus

-Wshadow is useful for subprojects to enable, because it can find bugs
in common variable names (err, r, i, etc). With these changes, projects
can now build sdbusplus with -Wshadow enabled.

The changes fall into a couple buckets. The first is for constructor
variables that match the member variable name. In these cases, "_in" is
appended to the end of the constructor variable name.

The second is a case where the variable "r" was used for return codes
twice. One instance is changed to "ret".

With these changes, projects can compile with -Wshadow enabled without
warnings.

Change-Id: Ia33a6f8306473c616f6278bb848460167e5463ef
Signed-off-by: Ed Tanous <edtanous@google.com>
/openbmc/sdbusplus/src/
H A Dexception.cppdiff ed4a5a64e41652aa2321d5647ced1ff19e3c5cd0 Thu Jan 05 11:38:50 CST 2023 Ed Tanous <edtanous@google.com> Fix variable shadow warnings in sdbusplus

-Wshadow is useful for subprojects to enable, because it can find bugs
in common variable names (err, r, i, etc). With these changes, projects
can now build sdbusplus with -Wshadow enabled.

The changes fall into a couple buckets. The first is for constructor
variables that match the member variable name. In these cases, "_in" is
appended to the end of the constructor variable name.

The second is a case where the variable "r" was used for return codes
twice. One instance is changed to "ret".

With these changes, projects can compile with -Wshadow enabled without
warnings.

Change-Id: Ia33a6f8306473c616f6278bb848460167e5463ef
Signed-off-by: Ed Tanous <edtanous@google.com>
/openbmc/sdbusplus/include/sdbusplus/message/
H A Dread.hppdiff ed4a5a64e41652aa2321d5647ced1ff19e3c5cd0 Thu Jan 05 11:38:50 CST 2023 Ed Tanous <edtanous@google.com> Fix variable shadow warnings in sdbusplus

-Wshadow is useful for subprojects to enable, because it can find bugs
in common variable names (err, r, i, etc). With these changes, projects
can now build sdbusplus with -Wshadow enabled.

The changes fall into a couple buckets. The first is for constructor
variables that match the member variable name. In these cases, "_in" is
appended to the end of the constructor variable name.

The second is a case where the variable "r" was used for return codes
twice. One instance is changed to "ret".

With these changes, projects can compile with -Wshadow enabled without
warnings.

Change-Id: Ia33a6f8306473c616f6278bb848460167e5463ef
Signed-off-by: Ed Tanous <edtanous@google.com>
H A Dnative_types.hppdiff ed4a5a64e41652aa2321d5647ced1ff19e3c5cd0 Thu Jan 05 11:38:50 CST 2023 Ed Tanous <edtanous@google.com> Fix variable shadow warnings in sdbusplus

-Wshadow is useful for subprojects to enable, because it can find bugs
in common variable names (err, r, i, etc). With these changes, projects
can now build sdbusplus with -Wshadow enabled.

The changes fall into a couple buckets. The first is for constructor
variables that match the member variable name. In these cases, "_in" is
appended to the end of the constructor variable name.

The second is a case where the variable "r" was used for return codes
twice. One instance is changed to "ret".

With these changes, projects can compile with -Wshadow enabled without
warnings.

Change-Id: Ia33a6f8306473c616f6278bb848460167e5463ef
Signed-off-by: Ed Tanous <edtanous@google.com>