diff options
| author | kj_sh604 | 2026-02-21 13:21:58 -0500 |
|---|---|---|
| committer | kj_sh604 | 2026-02-21 13:21:58 -0500 |
| commit | e1c2508e90014dca0d08c415018924fbe8fc5001 (patch) | |
| tree | cf311219f2a169f4414ce8079e9955df47a11c40 /src/app.nim | |
| parent | 0f434282343c459f4726aec39546a473283a47d6 (diff) | |
refactor: fix XDeclaredButNotUsed warning
Diffstat (limited to '')
| -rw-r--r-- | src/app.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app.nim b/src/app.nim index 8760584..35f5bff 100644 --- a/src/app.nim +++ b/src/app.nim @@ -259,7 +259,7 @@ proc runPandoc(sourceMarkdown: string; outputPath: string; paperSize: string; ma # preprocess markdown: convert to ascii with transliteration and normalize quotes let iconvCmd = "iconv -c -t ASCII//TRANSLIT " & quoteShell(tempRawPath) & " | sed 's/'\\''/'/g; s/\"\"/\"/g' > " & quoteShell(tempMarkdownPath) - let (iconvOutput, iconvExitCode) = execCmdEx(iconvCmd) + let (_, iconvExitCode) = execCmdEx(iconvCmd) if iconvExitCode != 0: # if preprocessing fails, fall back to original content |
