Add incremental update event.

Show a short statistic after incremental update:
Incremental update completed: 0 packages updated, 1 removed and 1 added.
Make some gcc48 versions happy.

It seems that statical analysis of some gcc versions is broken,
hence explicitly init a problematic variable.