Variable-length arrays are nonstandard, and gcc warns about them. In this particular case, we don't even need to use an array.