f () { int i; for (i = 1;; i = 0) { if (h ()) { if (i) g (); g (h ()); g (h ()); } else { g (); break; } } }