The ornamental design for a storagecompartment for a cockpit, as shown and described.
FIG. 1 is a front perspective view of a storage compartment for a cockpit showing our new design;
FIG. 2 is a front view thereof;
FIG. 3 is a first side view thereof, the second side view forming no part of the claimed design; and,
FIG. 4 is a top view thereof, the bottom view forming no part of the claimed design.
The even length broken lines structure and environment that form no part of the claimed design. The single dash and single dot broken lines indicate boundaries of the claimed design that form no part thereof.