[Mesa-dev] According the "intel: Fix segfault in glXSwapBuffers with no bound context" patch.

Christian Inci chris.pcguy.inci at gmail.com
Mon Jan 16 15:59:05 PST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello @all,

wouldn't it be better to return if intel is NULL instead, as there's nothing after the if statement?
(At least you wouldn't need to indent the code then.)

Kind regards,
Christian Inci
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPFLnIAAoJEBs38cNfaEHvcDcH/RyduK7ifHOgN1mU1z34JXcO
/3S9KrHQXnR7sYQFW/lbbupMu5a4W6LzZkaWBs8oezQGa2Gd5J+qEXIcaqLDmNFe
033CwCc8PHYuoS1hBJq5+s0xUcJwd/pvvdj6pGFjbpC5ao1pkuoGhDANeDUdOT8j
xCKJb7vFpTYhMvB40QxsAh/YKP5Ru/skis+HNNyGBV0DrZQ1nI98a3snT5uI4Fmk
KSZGd3btuEs9ETvXRv2uDiYMleDOVUqcnfmrgCCfVgqaLzbYW3tJz3t17QfEMtyb
O7ecGCda02Gd85ndLFa2zx0QkAtxMlJOydjTn4TeXvU/KrirHy9myFgvIbSlTfY=
=+yMk
-----END PGP SIGNATURE-----


More information about the mesa-dev mailing list