Green’s Dictionary of Slang

not matter a damn v.

[damn n.]

to be of no consequence, to not matter at all.

[UK]A. Morrison Tales of Mean Streets (1983) 117: You ’ave to shed blood in a revolution, an’ a few odd lives more or less don’t matter — not a single damn.
[UK]‘Sapper’ Black Gang 412: It doesn’t matter a damn what happens to us.
[UK](con. 1916) F. Manning Her Privates We (1986) 32: Have it your own way, then; it didn’t matter a damn anyway.
[Aus]K. Tennant Battlers 203: Life just flowed along, and it didn’t matter a damn what you wanted.
[Aus]D. Niland Shiralee 180: I suppose it doesn’t matter a damn, anyway.
[UK]Sun. Times Mag. 12 Oct. 36: By that time money didn’t matter a damn.
[US]G.V. Higgins Patriot Game (1985) 49: It doesn’t matter a damn if he did something before he signed your register.
[Scot]I. Rankin Dead Souls 4: It wouldn’t matter a damn.