Skip to content

Commit

Permalink
Merge pull request cpputest#1259 from offa/unused_fix
Browse files Browse the repository at this point in the history
Extension attribute replaced
  • Loading branch information
basvodde authored Dec 2, 2019
2 parents 043d1ec + 5c57164 commit b0cf13c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/CppUTest/SimpleString.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -562,8 +562,9 @@ SimpleString BracketsFormattedHexString(SimpleString hexString)
* Specifically nullptr_t is not officially supported
*/
#if __cplusplus > 199711L && !defined __arm__
SimpleString StringFrom(const nullptr_t __attribute__((unused)) value)
SimpleString StringFrom(const nullptr_t value)
{
(void) value;
return "(null)";
}
#endif
Expand Down

0 comments on commit b0cf13c

Please sign in to comment.