01be25aefe
* Remove the NULL check since BBitmaps don't return NULL but check that it IsValid() instead. * Fill out the *out pointer directly instead of creating a temporary bitmap pointer. * Rename err to result. * Return B_OK unconditionally if we get to the end of the function. Thanks again Jérôme