jeudi 23 juillet 2015

Meaning of side-effectless statement inside if

I was browsing through some code and came across this:

if(!StaticAnimatedEntities)
  int esko = esko = 2;

It struck me as very odd so I grepped the project for esko and found other similar ifs with nothing but that line inside them.

What is the meaning of this cryptic piece of code?

Aucun commentaire:

Enregistrer un commentaire