A throwaway background figure who exists mostly so the main characters look more impressive by comparison, and who can be dispensed with at any time.
The writers gave the rookie guard just two lines before he got shot, pure cannon fodder for the hero's big entrance.