The inversionless free-electron laser having a drift region consisting of two magnets is analyzed. Performing numerical simulations of electron motion inside wigglers and the drift region, we have shown that this system has a positive mean gain over the entire energy distribution of the electron beam. We study the influence of emittance and the spread of electron energies on the gain.