* fix #13218: avoid some irrelevant warnings for nim doc,rst2html * suppress warnRedefinitionOfLabel for nim doc * lots of fixes for UnusedImport warnings
This commit is contained in:
parent
380a505507
commit
6e0c06f50e
11 changed files with 27 additions and 12 deletions
|
|
@ -10,7 +10,7 @@
|
|||
## Converts between different character encodings. On UNIX, this uses
|
||||
## the `iconv`:idx: library, on Windows the Windows API.
|
||||
|
||||
import os, parseutils, strutils
|
||||
import os
|
||||
|
||||
when not defined(windows):
|
||||
type
|
||||
|
|
@ -28,6 +28,7 @@ type
|
|||
## for encoding errors
|
||||
|
||||
when defined(windows):
|
||||
import parseutils, strutils
|
||||
proc eqEncodingNames(a, b: string): bool =
|
||||
var i = 0
|
||||
var j = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue