Skip to content
Snippets Groups Projects
Commit 3a648409 authored by Christoph Grüninger's avatar Christoph Grüninger
Browse files

Ignore unsused typedef.

GCC warns about it.
parent 54d66e14
No related branches found
No related tags found
No related merge requests found
......@@ -5,10 +5,11 @@
#endif
#include <dune/common/nullptr.hh>
#include <dune/common/unused.hh>
void basic_tests()
{
typedef Dune::nullptr_t NULLPTR_T;
typedef Dune::nullptr_t NULLPTR_T DUNE_UNUSED;
char* ch = nullptr; // ch has the null pointer value
char* ch2 = 0; // ch2 has the null pointer value
#ifdef FAIL
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment