If using a dispenser with a flint and steel in it on non ignitable adjacent blocks, the flint and steel will lose durability without starting a fire.
MC-124991 Flint and steel in a dispenser does not lose durability when used to ignite TNT
MC-189476 Flint and steel in dispenser loses durability even when not igniting anything