Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2sharp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2011-09-15 16:24:07 +0400
committernulltoken <emeric.fermas@gmail.com>2011-09-21 21:32:26 +0400
commitdf04d9d21aad672241f4c995a217fc1f473ab818 (patch)
tree525a678107a491d1c767bc23658ca91b1c149968 /LibGit2Sharp/RepositoryInformation.cs
parent75ae7f95d566368c7d4c8cb0264c1e403fcabb90 (diff)
Enforce code style
Diffstat (limited to 'LibGit2Sharp/RepositoryInformation.cs')
-rw-r--r--LibGit2Sharp/RepositoryInformation.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/LibGit2Sharp/RepositoryInformation.cs b/LibGit2Sharp/RepositoryInformation.cs
index 555cd729..8d27f447 100644
--- a/LibGit2Sharp/RepositoryInformation.cs
+++ b/LibGit2Sharp/RepositoryInformation.cs
@@ -49,7 +49,7 @@ namespace LibGit2Sharp
{
get
{
- var res = NativeMethods.git_repository_is_empty(repo.Handle);
+ int res = NativeMethods.git_repository_is_empty(repo.Handle);
Ensure.Success(res, true);
return (res == 1);
@@ -63,11 +63,11 @@ namespace LibGit2Sharp
{
get
{
- var res = NativeMethods.git_repository_head_detached(repo.Handle);
+ int res = NativeMethods.git_repository_head_detached(repo.Handle);
Ensure.Success(res, true);
return (res == 1);
}
}
}
-} \ No newline at end of file
+}