]> https://gitweb.dealii.org/ - dealii.git/commit
Don't possibly dereference a null pointer. 2962/head
authorDavid Wells <wellsd2@rpi.edu>
Sun, 14 Aug 2016 23:03:17 +0000 (19:03 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Mon, 15 Aug 2016 00:10:51 +0000 (20:10 -0400)
commit3b0bae9de0f2720496b17c20fb3f65bd49bab717
tree648186e29ea0e1db897dd765c287a70e85911393
parent19028130c89ee5ab6eafaa8e0e5defb6b1fa78e6
Don't possibly dereference a null pointer.

Since this code checks that the dimension really is not 1 we can get rid
of this case, which would result in an ill-formed reference.
source/grid/grid_out.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.