Helper function from SciTE
| 56 | |
| 57 | // Helper function from SciTE |
| 58 | [[maybe_unused]] static bool Exists(const char *fileName) { |
| 59 | bool ret = false; |
| 60 | if (fileName && fileName[0]) { |
| 61 | FILE *fp = fopen(fileName, "rb"); |
| 62 | if (fp) { |
| 63 | ret = true; |
| 64 | fclose(fp); |
| 65 | } |
| 66 | } |
| 67 | return ret; |
| 68 | } |
| 69 | |
| 70 | |
| 71 | // A note on naming conventions: |
nothing calls this directly
no outgoing calls
no test coverage detected