Are you sure. With context it is clear to me:
It was from another forum, where someone asked about time sequences for the following sentence:
a) I will walk here, waiting for my friend to turn up.
In your first sentence,I think it is so obvious that as you walk 'here', you are waiting because you said "here" not "there".