google / earthenterprise

Google Earth Enterprise - Open Source
Apache License 2.0
2.66k stars 882 forks source link

1954: Move assetItem pointer use after NULL check, remove unnecessary string conversion #1956

Closed tst-jlarocco closed 3 years ago

tst-jlarocco commented 3 years ago

This fixes a cppcheck warning, and since I was there, I removed a couple of unneeded .c_str() calls.

This fixes issue https://github.com/google/earthenterprise/issues/1954

tst-lsavoie commented 3 years ago

We should create an issue for this PR.