]> https://gitweb.dealii.org/ - dealii.git/commit
Fix compiler warnings with clang 3.6. 627/head
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Mon, 2 Mar 2015 09:47:16 +0000 (10:47 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Mon, 2 Mar 2015 09:50:03 +0000 (10:50 +0100)
commita2a8796dee99872788fb1872a4b6bc7ce168dd7e
treeb3b8c2206da7db8e6bbecb0a4e97ff1336404370
parentfc58b3ea9f951056e3f266fb82235138c1140fb0
Fix compiler warnings with clang 3.6.

Comparing the address of a reference to an object with the zero pointer like in
  &dof_handler.get_fe() != 0
will always evaluate to true. Thus, these assertions do not make sense and clang is right to complain.
include/deal.II/dofs/dof_accessor.templates.h
include/deal.II/hp/dof_faces.h
source/dofs/dof_accessor.cc
source/dofs/dof_accessor_get.cc
source/dofs/dof_accessor_set.cc
source/dofs/dof_tools.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.