Simplify w32cygwinx.c and pacify GCC (Bug#32189)
commit144bcc0132e61cc932348312720d592764022844
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 19 Jul 2018 23:12:17 +0000 (19 16:12 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 20 Jul 2018 14:29:35 +0000 (20 07:29 -0700)
tree4007394cd2d939d751ef7397d85aba925abfe927
parent249606fb539bd1a7dc95129277c1684826fc068f
Simplify w32cygwinx.c and pacify GCC (Bug#32189)

* src/w32cygwinx.c (format_string): New function.
(Fw32_battery_status): Use it.
src/w32cygwinx.c