Remove additions added in the split

This commit is contained in:
WebFreak001 2017-08-16 07:40:49 +02:00
parent 6c310d2d5e
commit c0caf5cea6
3 changed files with 3 additions and 13 deletions

View File

@ -165,16 +165,6 @@ struct AutocompleteResponse
* Symbol identifier * Symbol identifier
*/ */
ulong symbolIdentifier; ulong symbolIdentifier;
/**
* Creates an empty acknowledgement response
*/
static AutocompleteResponse ack()
{
AutocompleteResponse response;
response.completionType = "ack";
return response;
}
} }
/** /**

View File

@ -381,4 +381,4 @@ options:
--socketFile FILENAME --socketFile FILENAME
Use the given FILENAME as the path to the UNIX domain socket. Using Use the given FILENAME as the path to the UNIX domain socket. Using
this switch is an error on Windows.`, programName); this switch is an error on Windows.`, programName);
} }

View File

@ -70,8 +70,8 @@ string getConfigurationLocation()
*/ */
void warnAboutOldConfigLocation() void warnAboutOldConfigLocation()
{ {
const configPath = "~/.config/dcd".expandTilde; version (linux) if ("~/.config/dcd".expandTilde().exists()
version (linux) if (configPath.exists && configPath.isFile) && "~/.config/dcd".expandTilde().isFile())
{ {
warning("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"); warning("!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
warning("!! Upgrade warning:"); warning("!! Upgrade warning:");